- switch (c)
- {
- case '<': return fputs ("<", out);
- case '>': return fputs (">", out);
- case '$': return fputs ("$", out);
- case '_': return fputs ("_", out);
- case '%': return fputs ("%", out);
- case '&': return fputs ("&", out);
- case '\\': return fputs ("\", out);
- case '"': return fputs ("&dquot;", out);
- case '[': return fputs ("[", out);
- case ']': return fputs ("]", out);
- case '~': return fputs ("˜", out);
- default: return fputc (c, out);
+ switch (c) {
+ case '<':
+ return add_s ("<");
+ case '>':
+ return add_s (">");
+ case '$':
+ return add_s ("$");
+ case '_':
+ return add_s ("_");
+ case '%':
+ return add_s ("%");
+ case '&':
+ return add_s ("&");
+ case '\\':
+ return add_s ("\");
+ case '"':
+ return add_s ("&dquot;");
+ case '[':
+ return add_s ("[");
+ case ']':
+ return add_s ("]");
+ case '~':
+ return add_s ("˜");
+ default:
+ return add_c (c);