mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:28:11 +00:00
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
Let's make it clear that these functions deal with ASCII case only.
This commit is contained in:
parent
03cc45e5a2
commit
a504ac3e2a
76 changed files with 480 additions and 476 deletions
|
@ -515,7 +515,7 @@ ErrorOr<Name, ParseError> Parser::parse_processing_instruction_target()
|
|||
auto target = TRY(parse_name());
|
||||
auto accept = accept_rule();
|
||||
|
||||
if (target.equals_ignoring_case("xml"sv) && m_options.treat_errors_as_fatal) {
|
||||
if (target.equals_ignoring_ascii_case("xml"sv) && m_options.treat_errors_as_fatal) {
|
||||
return parse_error(
|
||||
m_lexer.tell() - target.length(),
|
||||
"Use of the reserved 'xml' name for processing instruction target name is disallowed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue