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:
parent
dcd5a8d975
commit
97726b02e6
@ -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: [],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ export interface RenderResultPluginAsset {
|
||||
export interface RenderResult {
|
||||
html: string;
|
||||
pluginAssets: RenderResultPluginAsset[];
|
||||
cssStrings?: string[];
|
||||
cssStrings: string[];
|
||||
}
|
||||
|
||||
export interface OptionsResourceModel {
|
||||
|
Loading…
Reference in New Issue
Block a user