diff --git a/gatsby/lib/parse-content.mjs b/gatsby/lib/parse-content.mjs index 24776000..5d14737b 100644 --- a/gatsby/lib/parse-content.mjs +++ b/gatsby/lib/parse-content.mjs @@ -15,7 +15,8 @@ export function parseContent(html) { if ( node.properties.className && Array.isArray(node.properties.className) && - node.properties.className.includes('pdf-only') + (node.properties.className.includes('pdf-only') || + node.properties.className.includes('chapter-opening-figure')) ) { remove(tree, node); }