ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/podtbl
(Generate patch)

Comparing rxvt-unicode/doc/podtbl (file contents):
Revision 1.6 by root, Wed Jun 22 07:30:52 2016 UTC vs.
Revision 1.7 by root, Sat Oct 10 20:06:03 2020 UTC

25 X => "span", # broken 25 X => "span", # broken
26 Z => "span", # broken 26 Z => "span", # broken
27 ); 27 );
28 # strip formatting codes, dumb version 28 # strip formatting codes, dumb version
29 map { 29 map {
30 s/([IBCLFSXZ])<< (.*?) >>/<$tag{$1}>$2<\/$tag{$1}>/gs; 30 s/([IBCLFSXZ])<< (.*?) >>/<$tag{$1}>$2 <\/$tag{$1}>/gs;
31 s/([IBCLFSXZ])<(.*?)>/<$tag{$1}>$2<\/$tag{$1}>/gs; 31 s/([IBCLFSXZ])<(.*?)>/<$tag{$1}>$2 <\/$tag{$1}>/gs;
32 $_ 32 $_
33 } @$_; 33 } @$_;
34} 34}
35 35
36sub command { 36sub command {
80 # html 80 # html
81 # pod::xhtml fails on begin/end blocks 81 # pod::xhtml fails on begin/end blocks
82# print $fh "=begin xhtml\n\n"; 82# print $fh "=begin xhtml\n\n";
83 83
84 print $fh "=for xhtml <table>"; 84 print $fh "=for xhtml <table>";
85 print $fh map "<tr><td>" . +(join "</td><td>", htmlfcodes @$_) . "</td></tr>", @$table; 85 print $fh map "<tr><td>" . +(join " </td><td>", htmlfcodes @$_) . " </td></tr>", @$table;
86 print $fh "</table>\n\n"; 86 print $fh "</table>\n\n";
87 87
88 print $fh "=for html <table>"; 88 print $fh "=for html <table>";
89 print $fh map "<tr><td>" . +(join "</td><td>", htmlfcodes @$_) . "</td></tr>", @$table; 89 print $fh map "<tr><td>" . +(join " </td><td>", htmlfcodes @$_) . " </td></tr>", @$table;
90 print $fh "</table>\n\n"; 90 print $fh "</table>\n\n";
91 91
92# print $fh "\n=end xhtml\n\n"; 92# print $fh "\n=end xhtml\n\n";
93 93
94} 94}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines