From 2cb6dfb574834d3d17980d7c41473daa745d76cc Mon Sep 17 00:00:00 2001
From: cshjsc <47149574+cshjsc@users.noreply.github.com>
Date: Tue, 2 Nov 2021 19:34:59 +0100
Subject: Fix html links splitting

avoid line splitting.
the width option is set to 80 by default, increasing it will avoid breaking long links in two different lines
---
 share/mailcap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'share/mailcap')

diff --git a/share/mailcap b/share/mailcap
index b355f32..a49145f 100644
--- a/share/mailcap
+++ b/share/mailcap
@@ -1,6 +1,6 @@
 text/plain; $EDITOR %s ;
 text/html; openfile %s ; nametemplate=%s.html
-text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
+text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump -width=1024 %s; nametemplate=%s.html; copiousoutput;
 image/*; openfile %s ;
 video/*; setsid mpv --quiet %s &; copiousoutput
 audio/*; mpv %s ;
-- 
cgit v1.2.3