diff --git a/packages/markdown/parseMarkdown.js b/packages/markdown/parseMarkdown.js index caa98584c787a2..f13fcf239c365b 100644 --- a/packages/markdown/parseMarkdown.js +++ b/packages/markdown/parseMarkdown.js @@ -366,7 +366,13 @@ function createRender(context) { } return [ - `${headingHtml}`, + headingHtml.includes('${headingHtml}`, + ``, + ].join('') + : `${headingHtml}`, ``,