DOC: config: clarify the wording around single/double quotes
As reported in issue #2327, the wording used in the section about quoting can be read two ways due to the use of the two types of quotes to protect each other quote. Better only use the quoting without mixing the two when mentioning them.
This commit is contained in:
parent
d607940915
commit
da8d6d1b2c
@ -698,8 +698,9 @@ anymore, and is not recommended.
|
||||
In modern configurations, some arguments require the use of some characters
|
||||
that were previously considered as pure delimiters. In order to make this
|
||||
possible, HAProxy supports character escaping by prepending a backslash ('\')
|
||||
in front of the character to be escaped, weak quoting within double quotes
|
||||
('"') and strong quoting within single quotes ("'").
|
||||
in front of the character to be escaped, weak quoting with double quotes ("")
|
||||
around a piece of text, and strong quoting with single quotes ('') around a
|
||||
piece of text.
|
||||
|
||||
This is pretty similar to what is done in a number of programming languages and
|
||||
very close to what is commonly encountered in Bourne shell. The principle is
|
||||
|
Loading…
x
Reference in New Issue
Block a user