mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update xml5ever to 0.3.0
This commit is contained in:
parent
a89bbc9906
commit
8caa564540
3 changed files with 11 additions and 6 deletions
|
@ -42,7 +42,7 @@ impl Tokenizer {
|
|||
script: Default::default(),
|
||||
};
|
||||
|
||||
let tb = XmlTreeBuilder::new(sink);
|
||||
let tb = XmlTreeBuilder::new(sink, Default::default());
|
||||
let tok = XmlTokenizer::new(tb, Default::default());
|
||||
|
||||
Tokenizer {
|
||||
|
@ -100,9 +100,14 @@ struct Sink {
|
|||
script: MutNullableJS<HTMLScriptElement>,
|
||||
}
|
||||
|
||||
impl<'a> TreeSink for Sink {
|
||||
impl TreeSink for Sink {
|
||||
type Output = Self;
|
||||
type Handle = JS<Node>;
|
||||
|
||||
fn finish(self) -> Self {
|
||||
self
|
||||
}
|
||||
|
||||
fn parse_error(&mut self, msg: Cow<'static, str>) {
|
||||
debug!("Parse error: {}", msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue