Skip to content

Commit

Permalink
minor #6371 Fix escaping of backtick inside double back-quotes (guill…
Browse files Browse the repository at this point in the history
…iamxavier)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix escaping of backtick inside double back-quotes

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | all
| Fixed tickets |

This PR removes the backslash before the backtick inside a double-back-quoted inline code block, because there it is interpreted literally (and displayed too) instead of as an escaping character.

Commits
-------

1c297f9 Fix escaping of backtick inside double back-quotes
  • Loading branch information
xabbuh committed Mar 15, 2016
2 parents fe11cd8 + 1c297f9 commit 91139b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/yaml/yaml_format.rst
Expand Up @@ -50,7 +50,7 @@ can use double quotes, for these characters it is more convenient to use single
quotes, which avoids having to escape any backslash ``\``:

* ``:``, ``{``, ``}``, ``[``, ``]``, ``,``, ``&``, ``*``, ``#``, ``?``, ``|``,
``-``, ``<``, ``>``, ``=``, ``!``, ``%``, ``@``, ``\```
``-``, ``<``, ``>``, ``=``, ``!``, ``%``, ``@``, `````

The double-quoted style provides a way to express arbitrary strings, by
using ``\`` to escape characters and sequences. For instance, it is very useful
Expand Down

0 comments on commit 91139b8

Please sign in to comment.