Browse Source

fix: always reset parentType in lheading rule (#1131)

pull/1156/head
buildwithzephyr 5 months ago
committed by GitHub
parent
commit
aa2aa70b30
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

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

Loading…
Cancel
Save