From 9dea027d3edc01c32e411e486e803842c116c3e9 Mon Sep 17 00:00:00 2001 From: Rocco Rutte <pdmef@gmx.net> Date: Sat, 6 Dec 2008 15:04:20 +0100 Subject: [PATCH] makedoc: use <quote/> and <literal/> in string default values The goal is to improve readability of settings where spaces are relevant. --- doc/makedoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/makedoc.c b/doc/makedoc.c index a35de980..485006a7 100644 --- a/doc/makedoc.c +++ b/doc/makedoc.c @@ -716,9 +716,9 @@ static void print_confline (const char *varname, int type, const char *val, FILE if (type == DT_STR || type == DT_RX || type == DT_ADDR || type == DT_PATH) { - fputs ("\nDefault: "", out); + fputs ("\nDefault: <quote><literal>", out); sgml_print_strval (val, out); - fputs (""</literallayout>\n", out); + fputs ("</literal></quote></literallayout>\n", out); } else fprintf (out, "\nDefault: %s</literallayout>\n", val); -- 2.40.0