diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-09-09 11:07:31 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-09-09 11:07:31 +0200 |
commit | 0c45c04fbbea1cc8de15fdec07a68333f9948658 (patch) | |
tree | e8bc3e530690179099d9ed57a280a53a51305477 /src/state.rs | |
parent | 13337d77954b4c92d1cf4592f43f01d94fce3c77 (diff) | |
download | markdown-rs-0c45c04fbbea1cc8de15fdec07a68333f9948658.tar.gz markdown-rs-0c45c04fbbea1cc8de15fdec07a68333f9948658.tar.bz2 markdown-rs-0c45c04fbbea1cc8de15fdec07a68333f9948658.zip |
Fix to allow blank lines in mdx jsx (flow)
Diffstat (limited to '')
-rw-r--r-- | src/state.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/state.rs b/src/state.rs index 4201f5c..db03a90 100644 --- a/src/state.rs +++ b/src/state.rs @@ -369,9 +369,7 @@ pub enum Name { MdxJsxTextNok, MdxJsxEsWhitespaceStart, MdxJsxEsWhitespaceInside, - MdxJsxEsWhitespaceEol, MdxJsxEsWhitespaceEolAfter, - MdxJsxEsWhitespaceEolAfterInside, MdxJsxStart, MdxJsxStartAfter, MdxJsxNameBefore, @@ -858,11 +856,7 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::MdxJsxAttributeValueQuoted => construct::partial_mdx_jsx::attribute_value_quoted, Name::MdxJsxEsWhitespaceStart => construct::partial_mdx_jsx::es_whitespace_start, Name::MdxJsxEsWhitespaceInside => construct::partial_mdx_jsx::es_whitespace_inside, - Name::MdxJsxEsWhitespaceEol => construct::partial_mdx_jsx::es_whitespace_eol, Name::MdxJsxEsWhitespaceEolAfter => construct::partial_mdx_jsx::es_whitespace_eol_after, - Name::MdxJsxEsWhitespaceEolAfterInside => { - construct::partial_mdx_jsx::es_whitespace_eol_after_inside - } Name::NonLazyContinuationStart => construct::partial_non_lazy_continuation::start, Name::NonLazyContinuationAfter => construct::partial_non_lazy_continuation::after, |