From: Nicolas Boisselier Date: Sat, 20 Jun 2026 22:17:22 +0000 (+0200) Subject: lib/perl/NB/CGI.pm X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ed5f5410926566592ce0175158b46b7aa16011b4;p=nb.git lib/perl/NB/CGI.pm --- diff --git a/lib/perl/NB/CGI.pm b/lib/perl/NB/CGI.pm index 93712ac9..b865ee60 100644 --- a/lib/perl/NB/CGI.pm +++ b/lib/perl/NB/CGI.pm @@ -332,6 +332,11 @@ sub text__tag_func { #print(">>".$tagname.$attr{cgi_text}."\n"); @result = ($attr{cgi_text},"\n") if $attr{cgi_text}; } + # P + elsif ($tagname =~ /^p$/) + { + @result = map {"$_\n";} @result; + } # H. elsif ($tagname =~ /^h(\d+)$/) {