mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 02:01:27 +00:00
rendering paragraph and '
This commit is contained in:
parent
fd84258d8d
commit
61f006000d
|
@ -84,7 +84,9 @@ timeline_menu()
|
|||
id_status=$(echo $status | jj id)
|
||||
dateutc=$(echo $status | jj created_at)
|
||||
echo "$(date -d $dateutc "$format_time") <$id_status> $uri"
|
||||
echo $status | jj content | sed -e 's/<br[^>]*>/\n/g ; s/<[^>]*>//g ; s/>*/>/g ; s/<*/</g ; s/"/"/g'
|
||||
echo $status | jj content | sed -e "s/<br[^>]*>/\n/g
|
||||
; s/<p[^>]*>/\n/g ; s/<[^>]*>//g
|
||||
; s/>*/>/g ; s/<*/</g ; s/"/\"/g ; s/'/'/g"
|
||||
attachments=$(echo $status | jj -l media_attachments.#.remote_url | sed 's/"//g')
|
||||
if [ -n "$attachments" ]; then
|
||||
echo "#EXTINF:-1, $uri" >> attachments.m3u8
|
||||
|
|
Loading…
Reference in a new issue