From edf5dc98439e348930cd8aa3583df2763a5452d7 Mon Sep 17 00:00:00 2001 From: eugeneandrienko Date: Tue, 2 Sep 2025 21:44:28 +0300 Subject: Add -iu option for ansi2html to avoid badly looking Gemini pages Without -i the headers are not parsed by Dillo and displayed to the user as the usual contents of the page. Without -u the URLs in the page are un-clickable and have an ugly ">" prefixes. --- gemini.filter.dpi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gemini.filter.dpi') diff --git a/gemini.filter.dpi b/gemini.filter.dpi index 9448250..f362af3 100755 --- a/gemini.filter.dpi +++ b/gemini.filter.dpi @@ -29,7 +29,7 @@ render_gemini() { cat ~/.dillo/dpi/gemini/style.css || true printf "\n" if command -v ansi2html >/dev/null - then ansi2html + then ansi2html -iu else cat fi | awk ' function escape_html(str) { -- cgit v1.2.3