- 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 ("<");
+ case '>':
+ return add (">");
+ case '$':
+ return add ("$");
+ case '_':
+ return add ("_");
+ case '%':
+ return add ("%");
+ case '&':
+ return add ("&");
+ case '\\':
+ return add ("\");
+ case '"':
+ return add ("&dquot;");
+ case '[':
+ return add ("[");
+ case ']':
+ return add ("]");
+ case '~':
+ return add ("˜");
+ default:
+ return add_c (c);