1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00
serenity/Userland/Libraries/LibWeb/HTML/Parser
Max Wipfli d325403cb5 LibTextCodec: Use Optional<String> for get_standardized_encoding
This patch changes get_standardized_encoding to use an Optional<String>
return type instead of just returning the null string when unable to
match the provided encoding to one of the canonical encoding names.

This is part of an effort to move away from using null strings towards
explicitly using Optional<String> to indicate that the String may not
have a value.
2021-05-18 21:02:07 +02:00
..
Entities.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Entities.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTMLDocumentParser.cpp LibTextCodec: Use Optional<String> for get_standardized_encoding 2021-05-18 21:02:07 +02:00
HTMLDocumentParser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTMLToken.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTMLToken.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTMLTokenizer.cpp LibWeb: Utilize SourceLocation for HTMLTokenizer logging 2021-04-25 09:32:03 +02:00
HTMLTokenizer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ListOfActiveFormattingElements.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ListOfActiveFormattingElements.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackOfOpenElements.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackOfOpenElements.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00