removing wrong line
This commit is contained in:
1 parent
7a58066c78
commit
bc3ad723ed
1 file changed
-1
@@ -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/ */ /g' | sed 's/^ //;s/ $//')
|
||||||
alt=$(echo "$alt" | sed 's/^"//;s/"$//')
|
alt=$(echo "$alt" | sed 's/^"//;s/"$//')
|
||||||
alt=$(echo "$alt" | sed 's/\\"/"/g')
|
alt=$(echo "$alt" | sed 's/\\"/"/g')
|
||||||
alt=$(printf '%q' "$alt")
|
|
||||||
|
|
||||||
# Step 1: Replace newlines with a placeholder
|
# Step 1: Replace newlines with a placeholder
|
||||||
alt=$(echo "$alt" | sed ':a;N;$!ba;s/\n/PLACEHOLDER_NEWLINE/g')
|
alt=$(echo "$alt" | sed ':a;N;$!ba;s/\n/PLACEHOLDER_NEWLINE/g')
|
||||||
|
|||||||
Reference in new issue
Block a user