1 /*************************************************
2 * xfpt - Simple ASCII->Docbook processor *
3 *************************************************/
5 /* Copyright (c) University of Cambridge, 2006 */
6 /* Written by Philip Hazel. */
8 /* This module contains code for processing lines of literal text. */
14 /*************************************************
15 * Process a line of literal text *
16 *************************************************/
18 /* All we need to do is make sure that any & < and > characters are correctly
21 Argument: the line to be processed
26 literal_process(uschar *p)
31 if (c == '&') (void)fprintf(outfile, "&");
32 else if (c == '<') (void)fprintf(outfile, "<");
33 else if (c == '>') (void)fprintf(outfile, ">");
34 else (void)fputc(c, outfile);
39 /* End of literal.c */