()
| 182 | return atext; |
| 183 | } |
| 184 | async getHtml(){ |
| 185 | // cache the html |
| 186 | if (this._html != null) { |
| 187 | return this._html; |
| 188 | } |
| 189 | |
| 190 | // get the diff atext |
| 191 | const atext = await this._createDiffAtext(); |
| 192 | |
| 193 | // get the authorColor table |
| 194 | const authorColors = await this._pad.getAllAuthorColors(); |
| 195 | |
| 196 | // convert the atext to html |
| 197 | this._html = await exportHtml.getHTMLFromAtext(this._pad, atext, authorColors); |
| 198 | |
| 199 | return this._html; |
| 200 | } |
| 201 | |
| 202 | async getAuthors() { |
| 203 | // check if html was already produced, if not produce it, this generates |
no test coverage detected