From: Marcos de Oliveira Date: Fri, 17 Mar 2023 14:03:13 +0000 (-0300) Subject: DOC/MINOR: reformat configuration.txt's "quoting and escaping" table X-Git-Tag: v2.8-dev7~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b7a351a97f9d59fe945bb9a2ec638653f486f14;p=thirdparty%2Fhaproxy.git DOC/MINOR: reformat configuration.txt's "quoting and escaping" table The table in section 2.2 ("Quoting and escaping") was formated in a way which is not recognized by haproxy-dconv, breaking it, and cutting off the entire section. This commit fix that by formatting the table in way which allows the converter to produce the correct HTML. Fixes cbonte/haproxy-dconv#35 --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 37a51e8d16..38f93c7a63 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -586,19 +586,28 @@ As a result, here is the matrix indicating how special characters can be entered in different contexts (unprintable characters are replaced with their name within angle brackets). Note that some characters that may only be represented escaped have no possible representation inside single quotes, -hence the '-' there: +hence its absence there: Character | Unquoted | Weakly quoted | Strongly quoted -----------+---------------+-----------------------------+----------------- | \, \x09 | "", "\", "\x09" | '' - | \n, \x0a | "\n", "\x0a" | - - | \r, \x0d | "\r", "\x0d" | - + -----------+---------------+-----------------------------+----------------- + | \n, \x0a | "\n", "\x0a" | + -----------+---------------+-----------------------------+----------------- + | \r, \x0d | "\r", "\x0d" | + -----------+---------------+-----------------------------+----------------- | \, \x20 | "", "\", "\x20" | '' + -----------+---------------+-----------------------------+----------------- " | \", \x22 | "\"", "\x22" | '"' + -----------+---------------+-----------------------------+----------------- # | \#, \x23 | "#", "\#", "\x23" | '#' + -----------+---------------+-----------------------------+----------------- $ | $, \$, \x24 | "\$", "\x24" | '$' - ' | \', \x27 | "'", "\'", "\x27" | - + -----------+---------------+-----------------------------+----------------- + ' | \', \x27 | "'", "\'", "\x27" | + -----------+---------------+-----------------------------+----------------- \ | \\, \x5c | "\\", "\x5c" | '\' + -----------+---------------+-----------------------------+----------------- Example: # those are all strictly equivalent: