commit ad36d54de1f530673f90ddff7a78d0ce0c86286d
Author: Miles Alan <[email protected]>
Date:   Thu Aug 8 17:14:06 2019 -0500

    [surf][patch] externalpipe: Fix bug with surf_linkselect.sh script
    
    Allows links split over multiple lines to be rendered properly in script.

diff --git a/surf.suckless.org/patches/externalpipe/surf_linkselect.sh 
b/surf.suckless.org/patches/externalpipe/surf_linkselect.sh
index 3875483c..2fe11384 100755
--- a/surf.suckless.org/patches/externalpipe/surf_linkselect.sh
+++ b/surf.suckless.org/patches/externalpipe/surf_linkselect.sh
@@ -63,7 +63,7 @@ function link_normalize() {
 }
 
 function link_select() {
-  tr -d '

' |
+  tr '

' ' ' |
     xmllint --html --xpath "//a" - |
     dump_links_with_titles |
     awk '!x[$0]++' |


Reply via email to