diff options
Diffstat (limited to 'fsm.py')
-rw-r--r-- | fsm.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,12 +104,12 @@ class Parser(object): if url_parts.scheme in ('gemini', ''): external = '' else: - external = ' class="external"' + external = open('external_link.svg').read() if len(parts) == 1: text = url else: text = parts[1] - self._output.write('<li{}><a href="{}">{}</a></li>\n'.format(external, url, text)) + self._output.write('<li class="link"><a href="{}">{}</a>{}</li>\n'.format(url, text, external)) self._offset += 1 else: self._fsm.pop_state() |