(token: Tokens.Text | Tokens.Escape)
| 191 | } |
| 192 | |
| 193 | text(token: Tokens.Text | Tokens.Escape): RendererOutput { |
| 194 | return 'tokens' in token && token.tokens |
| 195 | ? this.parser.parseInline(token.tokens) as unknown as RendererOutput |
| 196 | : ('escaped' in token && token.escaped ? token.text as RendererOutput : escapeHtmlEntities(token.text) as RendererOutput); |
| 197 | } |
| 198 | } |
no test coverage detected