Browse Source
fix: always reset parentType in lheading rule
pull/1131/head
buildwithzephyr
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
lib/rules_block/lheading.mjs
|
|
@ -57,6 +57,7 @@ export default function lheading (state, startLine, endLine/*, silent */) { |
|
|
|
|
|
|
|
|
if (!level) { |
|
|
if (!level) { |
|
|
// Didn't find valid underline
|
|
|
// Didn't find valid underline
|
|
|
|
|
|
state.parentType = oldParentType |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|