We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e336619 commit c4d66c8Copy full SHA for c4d66c8
html5ever/src/tree_builder/mod.rs
@@ -46,10 +46,14 @@ mod types;
46
#[derive(Copy, Clone)]
47
pub struct TreeBuilderOpts {
48
/// Report all parse errors described in the spec, at some
49
- /// performance penalty? Default: false
+ /// performance penalty? Default: false
50
pub exact_errors: bool,
51
52
/// Is scripting enabled?
53
+ ///
54
+ /// This affects how `<noscript>` elements are parsed:
55
+ /// - If scripting **is** enabled then the contents of a `<noscript>` element are parsed as a single text node
56
+ /// - If scriping is **not** enabled then the contents of a `<noscript>` element are parsed as a normal tree of nodes
57
pub scripting_enabled: bool,
58
59
/// Is this an `iframe srcdoc` document?
0 commit comments