mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add MathML doctypes that enable XHTML entities
This commit is contained in:
parent
1c00279488
commit
9df6ccf772
Notes:
github-actions[bot]
2025-10-23 20:10:27 +00:00
Author: https://github.com/tcl3
Commit: 9df6ccf772
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6559
Reviewed-by: https://github.com/gmta ✅
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ ErrorOr<Variant<ByteString, Vector<XML::MarkupDeclaration>>> resolve_xml_resourc
|
|||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN",
|
||||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN",
|
||||
"-//W3C//DTD MathML 2.0//EN",
|
||||
"-//WAPFORUM//DTD XHTML Mobile 1.0//EN"))
|
||||
"-//WAPFORUM//DTD XHTML Mobile 1.0//EN",
|
||||
"-//WAPFORUM//DTD XHTML Mobile 1.1//EN",
|
||||
"-//WAPFORUM//DTD XHTML Mobile 1.2//EN"))
|
||||
return Error::from_string_literal("Refusing to load disallowed external entity");
|
||||
|
||||
if (!s_parsed_xhtml_unified_dtd.has_value()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue