Skip to content

Commit 675cd42

Browse files
mpdudefabpot
andauthored
Apply suggestions from code review
Co-authored-by: Fabien Potencier <fabien@potencier.org>
1 parent 1ba7799 commit 675cd42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/filters/escape.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ documents:
6363
aware that in some processing contexts like XML, characters like the colon ``:``
6464
may have meaning like for XML namespace separation.
6565

66-
.. versionadded:: 3.23
66+
.. versionadded:: 3.24
6767

6868
The ``html_attr_relaxed`` strategy has been added in 3.23.
6969

tests/Runtime/EscaperRuntimeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public function testHtmlAttributeRelaxedEscapingEscapesOwaspRecommendedRanges()
353353
} else {
354354
$this->assertNotEquals(
355355
$literal,
356-
(new EscaperRuntime())->escape($literal, 'html_attr'),
356+
(new EscaperRuntime())->escape($literal, 'html_attr_relaxed'),
357357
"$literal should be escaped!");
358358
}
359359
}

0 commit comments

Comments
 (0)