Skip to content

Commit

Permalink
minor #5750 fix YAML syntax highlighting (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

fix YAML syntax highlighting

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

In YAML, double quoted strings can contain escape sequences. Thus, we would have to escape the backslash if we wanted to use them instead of single quotes (see the Platform.sh build to spot the difference now).

Commits
-------

818d734 fix YAML syntax highlighting
  • Loading branch information
xabbuh committed Oct 3, 2015
2 parents a89fb70 + 818d734 commit b90bf96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/email/dev_environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ by adding the ``delivery_whitelist`` option:
delivery_whitelist:
# all email addresses matching this regex will *not* be
# redirected to dev@example.com
- "/@specialdomain\.com$/"
- '/@specialdomain\.com$/'
# all emails sent to admin@mydomain.com won't
# be redirected to dev@example.com too
- "/^admin@mydomain\.com$/"
- '/^admin@mydomain\.com$/'
.. code-block:: xml
Expand Down

0 comments on commit b90bf96

Please sign in to comment.