Skip to content

Commit 85ebd3e

Browse files
committed
minor #12880 Fix invalid yaml (jschaedl)
This PR was merged into the 4.3 branch. Discussion ---------- Fix invalid yaml Because `deprecated: 'The "%alias_id%" alias is deprecated. Don\'t use it anymore.'` is not valid Yaml, it leads to this error: [OK] All 1 YAML files contain valid syntax. >> Unexpected characters near "t use it anymore. The yaml specification says: > All non-printable characters must be escaped. YAML escape sequences use the “\” notation common to most modern computer languages. Each escape sequence must be parsed into the appropriate Unicode character. The original escape sequence is a presentation detail and must not be used to convey content information. > Note that escape sequences are only interpreted in double-quoted scalars. In all other scalar styles, the “\” character has no special meaning and non-printable characters are not available. So I think removing the `'` will help users who copy the configuration from the documentation. Commits ------- 84151dc Fix invalid yaml
2 parents 3b1dd56 + 84151dc commit 85ebd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/alias_private.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ or you decided not to maintain it anymore), you can deprecate its definition:
175175
deprecated: true
176176
177177
# ...but you can also define a custom deprecation message
178-
deprecated: 'The "%alias_id%" alias is deprecated. Don\'t use it anymore.'
178+
deprecated: 'The "%alias_id%" alias is deprecated. Do not use it anymore.'
179179
180180
.. code-block:: xml
181181

0 commit comments

Comments
 (0)