diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-09-12 17:43:19 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-09-12 17:49:13 +0200 |
commit | 65d4b46c2a3bdecb0493e484473d2de3d124f839 (patch) | |
tree | 3f2b03a9bdabdddd81242556b13dbfa07739b9a0 /src | |
parent | 57c3cda9f98e70a9f614a22eb6d518051cc60b19 (diff) | |
download | markdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.tar.gz markdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.tar.bz2 markdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.zip |
Fix containers piercing into indented code
Diffstat (limited to '')
-rw-r--r-- | src/construct/code_indented.rs | 2 | ||||
-rw-r--r-- | src/tokenizer.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/code_indented.rs b/src/construct/code_indented.rs index f2644d4..ec55aa6 100644 --- a/src/construct/code_indented.rs +++ b/src/construct/code_indented.rs @@ -146,7 +146,7 @@ pub fn after(tokenizer: &mut Tokenizer) -> State { /// | bbb /// ``` pub fn further_start(tokenizer: &mut Tokenizer) -> State { - if tokenizer.lazy { + if tokenizer.lazy || tokenizer.pierce { return State::Nok; } diff --git a/src/tokenizer.rs b/src/tokenizer.rs index aca8ec2..5095abb 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -372,7 +372,7 @@ impl<'a> Tokenizer<'a> { }, map: EditMap::new(), interrupt: false, - pierce: true, + pierce: false, concrete: false, lazy: false, resolvers: vec![], |