(n: html.Node)
| 620 | } |
| 621 | |
| 622 | function _isOpeningComment(n: html.Node): boolean { |
| 623 | return !!(n instanceof html.Comment && n.value && n.value.startsWith('i18n')); |
| 624 | } |
| 625 | |
| 626 | function _isClosingComment(n: html.Node): boolean { |
| 627 | return !!(n instanceof html.Comment && n.value && n.value === '/i18n'); |