8000 Minor tweak · xelaris/symfony-docs@e821cb0 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e821cb0

Browse files
committed
Minor tweak
1 parent e0f3554 commit e821cb0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

html_sanitizer.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ URLs of ``<a>`` elements:
722722
# ...
723723
724724
# if `true`, all URLs using the `http://` scheme will be converted to
725-
# using the `https://` scheme instead. `http` still needs to be allowed
725+
# use the `https://` scheme instead. `http` still needs to be allowed
726726
# in `allowed_link_schemes`
727727
force_https_urls: true
728728
@@ -750,7 +750,7 @@ URLs of ``<a>`` elements:
750750
751751
<framework:config>
752752
<!-- force-https-urls: if `true`, all URLs using the `http://` scheme will be
753-
converted to using the `https://` scheme instead.
753+
converted to use the `https://` scheme instead.
754754
`http` still needs to be allowed in `allowed-link-scheme` -->
755755
<!-- allow-relative-links: whether to allow relative links (i.e. URLs without
756756
scheme and host) -->
@@ -780,7 +780,7 @@ URLs of ``<a>`` elements:
780780
$framework->htmlSanitizer()
781781
->sanitizer('app.post_sanitizer')
782782
// if `true`, all URLs using the `http://` scheme will be converted to
783-
// using the `https://` scheme instead. `http` still needs to be
783+
// use the `https://` scheme instead. `http` still needs to be
784784
// allowed in `allowedLinkSchemes`
785785
->forceHttpsUrls(true)
786786
@@ -805,7 +805,7 @@ URLs of ``<a>`` elements:
805805
$postSanitizer = new HtmlSanitizer(
806806
(new HtmlSanitizerConfig())
807807
// if `true`, all URLs using the `http://` scheme will be converted to
808-
// using the `https://` scheme instead. `http` still needs to be
808+
// use the `https://` scheme instead. `http` still needs to be
809809
// allowed in `allowedLinkSchemes`
810810
->forceHttpsUrls()
811811
@@ -840,7 +840,7 @@ the HTML sanitizer: ``src``, ``href``, ``lowsrc``, ``background`` and ``ping``.
840840
# ...
841841
842842
# if `true`, all URLs using the `http://` scheme will be converted to
843-
# using the `https://` scheme instead. `http` still needs to be allowed
843+
# use the `https://` scheme instead. `http` still needs to be allowed
844844
# in `allowed_media_schemes`
845845
force_https_urls: true
846846
@@ -868,7 +868,7 @@ the HTML sanitizer: ``src``, ``href``, ``lowsrc``, ``background`` and ``ping``.
868868
869869
<framework:config>
870870
<!-- force-https-urls: if `true`, all URLs using the `http://` scheme will be
871-
converted to using the `https://` scheme instead. `http`
871+
converted to use the `https://` scheme instead. `http`
872872
still needs to be allowed in `allowed-media-scheme` -->
873873
<!-- allow-relative-medias: whether to allow relative URLs (i.e. URLs without
874874
scheme and host) -->
@@ -898,7 +898,7 @@ the HTML sanitizer: ``src``, ``href``, ``lowsrc``, ``background`` and ``ping``.
898898
$framework->htmlSanitizer()
899899
->sanitizer('app.post_sanitizer')
900900
// if `true`, all URLs using the `http://` scheme will be converted to
901-
// using the `https://` scheme instead. `http` still needs to be
901+
// use the `https://` scheme instead. `http` still needs to be
902902
// allowed in `allowedMediaSchemes`
903903
->forceHttpsUrls(true)
904904
@@ -923,7 +923,7 @@ the HTML sanitizer: ``src``, ``href``, ``lowsrc``, ``background`` and ``ping``.
923923
$postSanitizer = new HtmlSanitizer(
924924
(new HtmlSanitizerConfig())
925925
// if `true`, all URLs using the `http://` scheme will be converted to
926-
// using the `https://` scheme instead. `http` still needs to be
926+
// use the `https://` scheme instead. `http` still needs to be
927927
// allowed in `allowedMediaSchemes`
928928
->forceHttpsUrls()
929929

0 commit comments

Comments
 (0)
0