mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
HTML export: Await async hook completion before processing results
This commit is contained in:
parent
661a89355f
commit
45bee54aa0
2 changed files with 23 additions and 22 deletions
|
@ -206,7 +206,7 @@ PadDiff.prototype.getHtml = async function() {
|
|||
let authorColors = await this._pad.getAllAuthorColors();
|
||||
|
||||
// convert the atext to html
|
||||
this._html = exportHtml.getHTMLFromAtext(this._pad, atext, authorColors);
|
||||
this._html = await exportHtml.getHTMLFromAtext(this._pad, atext, authorColors);
|
||||
|
||||
return this._html;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue