1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Server: Fixed publishing of notes with HTML markup type

This commit is contained in:
Laurent Cozic 2021-08-12 17:23:49 +01:00
parent dcd5a8d975
commit 97726b02e6
2 changed files with 4 additions and 1 deletions

View File

@ -154,6 +154,7 @@ export default class HtmlToHtml {
return {
html: html,
pluginAssets: [],
cssStrings: [],
};
}
@ -168,6 +169,7 @@ export default class HtmlToHtml {
const output: RenderResult = {
html: splitted.html,
pluginAssets: [],
cssStrings: [],
};
if (options.externalAssetsOnly) {
@ -182,6 +184,7 @@ export default class HtmlToHtml {
return {
html: styleHtml + html,
pluginAssets: [],
cssStrings: [],
};
}
}

View File

@ -24,7 +24,7 @@ export interface RenderResultPluginAsset {
export interface RenderResult {
html: string;
pluginAssets: RenderResultPluginAsset[];
cssStrings?: string[];
cssStrings: string[];
}
export interface OptionsResourceModel {