]> git.plutz.net Git - serve0/blobdiff - widgets.sh
proper line break escape
[serve0] / widgets.sh
index a039d97b6b486613b8e19ae2dbb71a318f3c07dd..f6ab6074bb1ceb5e8facbe9515d6baaa3740f894 100644 (file)
@@ -46,7 +46,7 @@ if [ ! -f "$w_tags" -o ! -f "$w_tagcategories" ] \
       }
       otag="$tag"
     done
-  } |sort -rn |cut -f2- |HTML |sed "$w_ascii s-
-\n-g; s;\n\n;\n;g;" |tee "$w_tags" )"
+  } |sort -rn |cut -f2- |HTML |sed "$w_ascii s-
-\n-g; s;\n\n;\n;g;" |tee "$w_tags" )"
   w_tagcategories="$(printf %s "$w_tags" \
                      | sed -rn '/:/s;^-?([^:]+):.*$;\1;p' |sort -u \
                      | tee "$w_tagcategories" )"