removing wrong line

This commit is contained in:
D5k H3h
2025-01-21 00:13:57 +01:00
committed by GitHub
parent 7a58066c78
commit bc3ad723ed
-1
View File
@@ -78,7 +78,6 @@ alt=$(echo "$alt" | sed -e 's/<p>/\n/g' -e 's/<\/p>/\n/g' -e 's/<[^>]*>//g' -e '
alt=$(echo "$alt" | sed 's/ */ /g' | sed 's/^ //;s/ $//')
alt=$(echo "$alt" | sed 's/^"//;s/"$//')
alt=$(echo "$alt" | sed 's/\\"/"/g')
alt=$(printf '%q' "$alt")
# Step 1: Replace newlines with a placeholder
alt=$(echo "$alt" | sed ':a;N;$!ba;s/\n/PLACEHOLDER_NEWLINE/g')