(settings: DomParserSettings, args: ParserArgs)
| 283 | }; |
| 284 | |
| 285 | const getRootBlockName = (settings: DomParserSettings, args: ParserArgs) => { |
| 286 | const name = args.forced_root_block ?? settings.forced_root_block; |
| 287 | if (name === false) { |
| 288 | return ''; |
| 289 | } else if (name === true) { |
| 290 | return 'p'; |
| 291 | } else { |
| 292 | return name; |
| 293 | } |
| 294 | }; |
| 295 | |
| 296 | const xhtmlAttribte = ' xmlns="http://www.w3.org/1999/xhtml"'; |
| 297 |
no outgoing calls
no test coverage detected
searching dependent graphs…