We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d13c3 commit ad16c21Copy full SHA for ad16c21
index.js
@@ -4,7 +4,7 @@ const htmlToText = require('html-to-text')
4
module.exports = options => ({
5
extendPageData($page) {
6
try {
7
- const { html } = $page._context.markdown.render($page._strippedContent)
+ const { html } = $page._context.markdown.render($page._strippedContent || '')
8
9
const plaintext = htmlToText.fromString(html, {
10
wordwrap: null,
0 commit comments