You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running 1 test
Failed:( --> 1:23
|
1 | <!DOCTYPEHTMLPUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN"
| ^---
|
= expected attribute key
here's a test function showing the problem:
#[test]fntest_html_parser(){constHTML:&str = r#"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html></html>"#;ifletErr(x) = html_parser::Dom::parse(HTML){println!("Failed :( {}", x)}}
this wikipedia page claims the directive's syntax is correct.
am i correct in assuming this is a bug with the grammar's rules used?
if not would appreciate it if you can indicate a work-around.
TIA + cheers;
The text was updated successfully, but these errors were encountered:
hi there,
i'm trying to use your library (0.7.0) but am facing a problem when parsing, for example, https://www.unicode.org/reports/tr29/#Word_Boundaries. the error thrown is similar to:
here's a test function showing the problem:
this wikipedia page claims the directive's syntax is correct.
am i correct in assuming this is a bug with the grammar's rules used?
if not would appreciate it if you can indicate a work-around.
TIA + cheers;
The text was updated successfully, but these errors were encountered: