Skip to content
Snippets Groups Projects
Commit c38df3d0 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix (I hope)

Rev: bin/mkwmml.pike:1.19
parent 9619b40f
No related branches found
No related tags found
No related merge requests found
/* $Id: mkwmml.pike,v 1.18 1999/07/15 19:14:07 mirar Exp $ */ /* $Id: mkwmml.pike,v 1.19 2000/02/20 10:22:48 hubbe Exp $ */
import Stdio; import Stdio;
import Array; import Array;
...@@ -199,7 +199,7 @@ string synopsis_to_html(string s,mapping huh) ...@@ -199,7 +199,7 @@ string synopsis_to_html(string s,mapping huh)
string htmlify(string s) string htmlify(string s)
{ {
#define HTMLIFY(S) \ #define HTMLIFY(S) \
(replace((S),({"<",">","&","\240"}),({"<",">","&"," "}))) (replace((S),({"<",">",">","&","\240"}),({"<",">",">","&"," "})))
string t="",u,v; string t="",u,v;
while (sscanf(s,"%s<%s>%s",u,v,s)==3) while (sscanf(s,"%s<%s>%s",u,v,s)==3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment