Browse Source

fix: always reset parentType in lheading rule

pull/1131/head
buildwithzephyr 6 months ago
committed by GitHub
parent
commit
646fb2c0c0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      lib/rules_block/lheading.mjs

1
lib/rules_block/lheading.mjs

@ -57,6 +57,7 @@ export default function lheading (state, startLine, endLine/*, silent */) {
if (!level) {
// Didn't find valid underline
state.parentType = oldParentType
return false
}

Loading…
Cancel
Save