aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-12 17:43:19 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-12 17:49:13 +0200
commit65d4b46c2a3bdecb0493e484473d2de3d124f839 (patch)
tree3f2b03a9bdabdddd81242556b13dbfa07739b9a0 /src/construct
parent57c3cda9f98e70a9f614a22eb6d518051cc60b19 (diff)
downloadmarkdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.tar.gz
markdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.tar.bz2
markdown-rs-65d4b46c2a3bdecb0493e484473d2de3d124f839.zip
Fix containers piercing into indented code
Diffstat (limited to 'src/construct')
-rw-r--r--src/construct/code_indented.rs2
1 files changed, 1 insertions, 1 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;
}