From ed5f5410926566592ce0175158b46b7aa16011b4 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 21 Jun 2026 00:17:22 +0200 Subject: [PATCH] lib/perl/NB/CGI.pm --- lib/perl/NB/CGI.pm | 5 +++++ 1 file changed, 5 insertions(+) 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+)$/) { -- 2.47.3