1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-01 19:15:01 +02:00

Clipper: Fixed clipping Markdown

This commit is contained in:
Laurent Cozic 2024-01-27 15:44:18 +00:00
parent 857e25d84f
commit e4854b0bc2

View File

@ -307,7 +307,7 @@
cleanUpElement(convertToMarkup, cleanDocument, imageSizes, imageIndexes);
// eslint-disable-next-line no-undef
const stylesheets = convertToMarkup === 'html' ? getStyleSheets(document) : null;
const stylesheets = convertToMarkup === 'html' ? getStyleSheets(document) : [];
// The <BODY> tag may have a style in the CSS stylesheets. This
// style can be overriden by setting the `style` attribute on the