mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +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 {
|
return {
|
||||||
html: html,
|
html: html,
|
||||||
pluginAssets: [],
|
pluginAssets: [],
|
||||||
|
cssStrings: [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,6 +169,7 @@ export default class HtmlToHtml {
|
|||||||
const output: RenderResult = {
|
const output: RenderResult = {
|
||||||
html: splitted.html,
|
html: splitted.html,
|
||||||
pluginAssets: [],
|
pluginAssets: [],
|
||||||
|
cssStrings: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (options.externalAssetsOnly) {
|
if (options.externalAssetsOnly) {
|
||||||
@ -182,6 +184,7 @@ export default class HtmlToHtml {
|
|||||||
return {
|
return {
|
||||||
html: styleHtml + html,
|
html: styleHtml + html,
|
||||||
pluginAssets: [],
|
pluginAssets: [],
|
||||||
|
cssStrings: [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ export interface RenderResultPluginAsset {
|
|||||||
export interface RenderResult {
|
export interface RenderResult {
|
||||||
html: string;
|
html: string;
|
||||||
pluginAssets: RenderResultPluginAsset[];
|
pluginAssets: RenderResultPluginAsset[];
|
||||||
cssStrings?: string[];
|
cssStrings: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OptionsResourceModel {
|
export interface OptionsResourceModel {
|
||||||
|
Loading…
Reference in New Issue
Block a user