diff options
Diffstat (limited to 'src/scripts/gnu')
-rwxr-xr-x | src/scripts/gnu/index-terms.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/gnu/index-terms.sh b/src/scripts/gnu/index-terms.sh index 0eaffa7..e82aff2 100755 --- a/src/scripts/gnu/index-terms.sh +++ b/src/scripts/gnu/index-terms.sh @@ -23,7 +23,7 @@ insert_index_terms() { insert_term() { LINK="$1" - NAME="$(echo "$LINK" | pup -p 'a text{}' | sed 's/\"\"//g' | tr -d \\n)" + NAME="$(echo "$LINK" | pup -p 'a text{}' | sed 's/"/\"\"/g' | tr -d \\n)" PAGE_PATH="$(echo "$LINK" | pup -p 'a attr{href}')" insert "$DB_PATH" "$NAME" "$TYPE" "$PAGE_PATH" |