* Get HTML representation. (wrapper function) * * This function can get an object of the following form: * { * handler: //This can be a callback function of the form * // "function callback(node, options)" or * // a map that maps function name
(options)
| 289 | * @return {string} |
| 290 | */ |
| 291 | toHTML (options) { |
| 292 | const customString = this._getCustomString(options) |
| 293 | |
| 294 | if (typeof customString !== 'undefined') { |
| 295 | return customString |
| 296 | } |
| 297 | |
| 298 | return this._toHTML(options) |
| 299 | } |
| 300 | |
| 301 | /** |
| 302 | * Internal function to generate the HTML output. |
nothing calls this directly
no test coverage detected