Commit 44640227 authored by Fred Drake's avatar Fred Drake

(myformat.perl): Simplify generated HTML for "\optional{...}".

parent b33021b5
......@@ -6,7 +6,7 @@
#
# XXX Not complete: \indexii etc.; \funcitem etc.
package main;
package main;
# \bcode and \ecode brackets around verbatim
......@@ -28,7 +28,7 @@ sub do_cmd_e{ "\\" }
sub do_cmd_optional{
local($_) = @_;
s/$any_next_pair_pr_rx/<BIG>\[<\/BIG><VAR>\2<\/VAR><BIG>\]<\/BIG>/;
s/$any_next_pair_pr_rx/<BIG>\[<\/BIG>\2<BIG>\]<\/BIG>/;
$_;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment