diff options
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/pmccabe2html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html index 18984321f8..ef54eccba5 100644 --- a/build-aux/pmccabe2html +++ b/build-aux/pmccabe2html @@ -422,9 +422,9 @@ function html_fnc (nfun, while ((getline codeline < (fname nfun "_fn.txt")) > 0) { - gsub(/&/, "\&", codeline) # Must come first. - gsub(/</, "\<", codeline) - gsub(/>/, "\>", codeline) + gsub(/&/, "\\&", codeline) # Must come first. + gsub(/</, "\\<", codeline) + gsub(/>/, "\\>", codeline) print codeline } |