diff options
-rw-r--r-- | sys/src/cmd/aux/wikifmt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/src/cmd/aux/wikifmt.c b/sys/src/cmd/aux/wikifmt.c index 935dc40b2..08c7ba62b 100644 --- a/sys/src/cmd/aux/wikifmt.c +++ b/sys/src/cmd/aux/wikifmt.c @@ -190,20 +190,20 @@ heading(void) if((*pos >= 'a' && *pos <= 'z') || (*pos >= 'A' && *pos <= 'Z') || (*pos >= '0' && *pos <= '9') - || (strchr("!#$%&()_+,-./{|}~:;=?@[\\]^_`", *pos) != 0)) + || (strchr("!#$%()_+,-./{|}~:;=?@[\\]^_`", *pos) != 0)) output(pos, 1); else if(*pos == ' ' || *pos == '\t') output("_", 1); else if(*pos == '<') - output("<", 4); + string("<"); else if(*pos == '>') - output(">", 4); + string(">"); else if(*pos == '&') - output("&", 5); + string("&"); else if(*pos == '"') - output(""", 6); + string("""); else if(*pos == '\'') - output("'", 5); + string("'"); pos++; } string("\"></a>"); |