mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
AK: Move escape_html_entities() from LibHTML to AK
This sort of thing can be useful to things that don't want to link with all of LibHTML.
This commit is contained in:
parent
deca1d8b77
commit
3e486f75ff
Notes:
sideshowbarker
2024-07-19 09:21:57 +09:00
Author: https://github.com/awesomekling
Commit: 3e486f75ff
4 changed files with 18 additions and 17 deletions
|
@ -302,7 +302,10 @@ inline bool operator<=(const char* characters, const String& string)
|
|||
return !(characters > string);
|
||||
}
|
||||
|
||||
String escape_html_entities(const StringView& html);
|
||||
|
||||
}
|
||||
|
||||
using AK::CaseInsensitiveStringTraits;
|
||||
using AK::String;
|
||||
using AK::escape_html_entities;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue