summaryrefslogtreecommitdiff
path: root/.local/bin/sbg
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-03-20 02:48:17 -0700
committerDavid Luevano Alvarado <david@luevano.xyz>2021-03-20 02:48:17 -0700
commitca438405872705d8c7e20c14c9216d41529d7994 (patch)
treeff158a67a220c034cc574d353456b5832f47e2fe /.local/bin/sbg
parent65c4a44f1e87bc58b5d90a4e5fc8136d8ceedd9f (diff)
Fix sbg bug... for some reason names package creates a command here...
Diffstat (limited to '.local/bin/sbg')
-rwxr-xr-x.local/bin/sbg8
1 files changed, 7 insertions, 1 deletions
diff --git a/.local/bin/sbg b/.local/bin/sbg
index 6eeb46f..259a4d6 100755
--- a/.local/bin/sbg
+++ b/.local/bin/sbg
@@ -124,7 +124,7 @@ list_files_add_mod(){
fi
else
# If not, just print the new file data.
- echo $fn_ts" 0 "$fn
+ echo $fn_ts" 0 "$fn_n
fi
done <<EOF
$fn
@@ -145,8 +145,13 @@ md_to_html(){
b=$(echo "$line" | cut -d' ' -f1)
m=$(echo "$line" | cut -d' ' -f2)
+ # Here, parse-no-autolink is used
+ # so no link starting with 'www'
+ # is converted to an actual a tag with an
+ # actual link, ew.
html=$(
lowdown \
+ --parse-no-autolink \
--html-no-skiphtml \
--html-no-escapehtml \
--html-no-owasp \
@@ -364,6 +369,7 @@ dst=$(readlink_f "$dst")
IGNORE=$(
if test -f "$src/.sbgignore"
then
+ # Currently not working...
while read -r x
do
test -n "$x" || continue