(
html: string,
implicitTags: string[] = [],
implicitAttrs: {[k: string]: string[]} = {},
preserveSignificantWhitespace = true,
)
| 373 | }); |
| 374 | |
| 375 | export function _humanizeMessages( |
| 376 | html: string, |
| 377 | implicitTags: string[] = [], |
| 378 | implicitAttrs: {[k: string]: string[]} = {}, |
| 379 | preserveSignificantWhitespace = true, |
| 380 | ): [string[], string, string, string][] { |
| 381 | return _extractMessages(html, implicitTags, implicitAttrs, preserveSignificantWhitespace).map( |
| 382 | (message) => [serializeNodes(message.nodes), message.meaning, message.description, message.id], |
| 383 | ) as [string[], string, string, string][]; |
| 384 | } |
| 385 | |
| 386 | function _humanizePlaceholders( |
| 387 | html: string, |
no test coverage detected
searching dependent graphs…