Generate comparison results for a same-tagged range.
(tag, x)
| 152 | |
| 153 | |
| 154 | def _dump_chunk(tag, x): |
| 155 | """Generate comparison results for a same-tagged range.""" |
| 156 | if tag: |
| 157 | yield ''.join(('<span class="hi-', tag, '">')) |
| 158 | yield from _to_html(x) |
| 159 | if tag: |
| 160 | yield '</span>' |
| 161 | |
| 162 | |
| 163 | def _to_html(text): |
no test coverage detected