summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tokenizer.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 83b18e1..8a6e2fd 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -105,14 +105,6 @@ pub enum State {
///
/// [script data state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-state
ScriptData,
- /// The [script data escaped state].
- ///
- /// [script data escaped state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-escaped-state
- ScriptDataEscaped,
- /// The [script data double escaped state].
- ///
- /// [script data double escaped state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-double-escaped-state
- ScriptDataDoubleEscaped,
}
impl From<State> for machine::State {
@@ -123,8 +115,6 @@ impl From<State> for machine::State {
State::Rcdata => machine::State::Rcdata,
State::Rawtext => machine::State::Rawtext,
State::ScriptData => machine::State::ScriptData,
- State::ScriptDataEscaped => machine::State::ScriptDataEscaped,
- State::ScriptDataDoubleEscaped => machine::State::ScriptDataDoubleEscaped,
}
}
}