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
+3
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: [],
};
}
}
+1 -1
View File
@@ -24,7 +24,7 @@ export interface RenderResultPluginAsset {
export interface RenderResult {
html: string;
pluginAssets: RenderResultPluginAsset[];
cssStrings?: string[];
cssStrings: string[];
}
export interface OptionsResourceModel {