diff --git a/docs/src/modules/components/MarkdownElement.js b/docs/src/modules/components/MarkdownElement.js
index 01f801e60bfa9f..ff193834398e6d 100644
--- a/docs/src/modules/components/MarkdownElement.js
+++ b/docs/src/modules/components/MarkdownElement.js
@@ -27,16 +27,15 @@ renderer.heading = (text, level) => {
}
// eslint-disable-next-line no-underscore-dangle
- const escapedText = textToHash(text, global.__MARKED_UNIQUE__);
+ const hash = textToHash(text, global.__MARKED_UNIQUE__);
return [
`
`,
- `${text}`,
- typeof window !== 'undefined'
- ? `` +
- `` +
- ``
- : null,
+ ``,
+ text,
+ ``,
+ '',
+ '',
``,
].join('');
};