Broken project to implement a cross-protocol browser in textual
Diffstat (limited to 'browset.py')
| -rwxr-xr-x | browset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ class Browset(App): if "text/gemini" in mime: content = Gemtext(fp=fp, id="content") - elif mime in mimetolexer: + elif HighlightedCode.can_handle_mime(mime): content = HighlightedCode(fp=fp, id="content", mime=mime) else: content = Plaintext(fp=fp, id="content") |