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.
'div.quarto-auto-generated-content'
1 parent 2eab7cb commit fc232eeCopy full SHA for fc232ee
src/resources/formats/revealjs/plugins/support/support.js
@@ -335,9 +335,9 @@ window.QuartoSupport = function () {
335
}
336
337
338
- function cleanEmptyAutpGeneratedContent(deck) {
+ function cleanEmptyAutoGeneratedContent(deck) {
339
const div = document.querySelector('div.quarto-auto-generated-content')
340
- if (div.textContent.trim() === '') {
+ if (div && div.textContent.trim() === '') {
341
div.remove()
342
343
@@ -358,7 +358,7 @@ window.QuartoSupport = function () {
358
workaroundMermaidDistance(deck);
359
handleWhiteSpaceInColumns(deck);
360
// should stay last
361
- cleanEmptyAutpGeneratedContent(deck);
+ cleanEmptyAutoGeneratedContent(deck);
362
},
363
};
364
0 commit comments