You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Fixed buid
This commit is contained in:
@@ -5,10 +5,9 @@ const htmlentities = (new Entities()).encode;
|
||||
function attributesHtml(attributes, options = null) {
|
||||
if (!attributes) return '';
|
||||
|
||||
options = {
|
||||
options = Object.assign({}, {
|
||||
skipEmptyClass: false,
|
||||
...options,
|
||||
};
|
||||
}, options);
|
||||
|
||||
const output = [];
|
||||
|
||||
@@ -425,10 +424,9 @@ rules.code = {
|
||||
}
|
||||
|
||||
function imageMarkdownFromNode(node, options = null) {
|
||||
options = {
|
||||
options = Object.assign({}, {
|
||||
preserveImageTagsWithSize: false,
|
||||
...options,
|
||||
};
|
||||
}, options);
|
||||
|
||||
if (options.preserveImageTagsWithSize && (node.getAttribute('width') || node.getAttribute('height'))) {
|
||||
return node.outerHTML;
|
||||
|
||||
Reference in New Issue
Block a user