export default {
  type: 'heading',

  matchElement (el) {
    return /^h\d$/.exec(el.tagName)
  },

  import (el, node, converter) {
    node.content = converter.annotatedText(el, [node.id, 'content'], { preserveWhitespace: true })
  },

  export (node, el, converter) {
    el.tagName = `h${node.getLevel()}`
    el.append(converter.annotatedText([node.id, 'content']))
  }
}

@@ -295,18 +295,13 @@
 ode.
-getL
+l
 evel
-()
 %7D%60%0A 

Fix HTML converter for headings.