diff --git a/site/cgi-bin/modules/DevHelp/Formatter.pm b/site/cgi-bin/modules/DevHelp/Formatter.pm index 4af8f725..e2c01182 100644 --- a/site/cgi-bin/modules/DevHelp/Formatter.pm +++ b/site/cgi-bin/modules/DevHelp/Formatter.pm @@ -3,7 +3,7 @@ use strict; use DevHelp::HTML; use Carp 'confess'; -our $VERSION = "1.011"; +our $VERSION = "1.012"; use constant DEBUG => 0; @@ -453,9 +453,9 @@ sub format { # attempts to convert class[name|paragraph] into

... # tried to use a negative lookahead but it wouldn't work $part =~ s#<(p\b[^>]*)>]+)">(.*?)

- #<$1 class="$2">$3

#xg; + #<$1 class="$2">$3

#xgs; $part =~ s#<(p\b[^>]*)>]+)">(.*?)

- #<$1 style="$2">$3

#xg; + #<$1 style="$2">$3

#xgs; if (my $p_class = $self->tag_class('p')) { $part =~ s!(]+")?)>!$1 class="$p_class">!g; }