Merge branch 'dev' of git.notsyncing.net:markus/lifomapserver into dev

This commit is contained in:
Markus Koch 2021-02-26 19:56:05 +01:00
commit 447cd904c4

View File

@ -9,7 +9,7 @@ categories=""
data=`curl -s "$1"` data=`curl -s "$1"`
temp=`echo "$data" | sed -n 's/<p>\(.\+\).*/\1/p' | head -n1` temp=`echo "$data" | sed -n 's/<p>\(.\+\).*/\1/p' | grep -v -e '^<br />$' | sed 's#^</p>##' | head -n1`
if [ "$temp" != "" ]; then if [ "$temp" != "" ]; then
temp=`echo "$temp" | sed "s#href=\"#href=\"$BASE#g" | sed 's/"/\\\\"/g' | sed 's/\t//g'` temp=`echo "$temp" | sed "s#href=\"#href=\"$BASE#g" | sed 's/"/\\\\"/g' | sed 's/\t//g'`
description="$temp" description="$temp"