Skip to content
Snippets Groups Projects
Commit d7914d39 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

> etc transformation

Rev: tutorial/manpages:1.14
parent f4b96414
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ object whatis; ...@@ -15,6 +15,8 @@ object whatis;
string quote_text(string s) string quote_text(string s)
{ {
s=replace(s,({">","&","<"}),
({">","&","<"}));
return(replace(s, ({ "*", "\\", "()", " - ", "..." }), return(replace(s, ({ "*", "\\", "()", " - ", "..." }),
({ "\\(**", "\\e", "(\\|)", " \\- ", "\&.\|.\|." }))); ({ "\\(**", "\\e", "(\\|)", " \\- ", "\&.\|.\|." })));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment