X-Git-Url: http://git.plutz.net/?p=serve0;a=blobdiff_plain;f=view.sh;h=eb348c60522fa0b30f95c6dec35d3068f99351f1;hp=c08be24fa1a662a98bcb2bd88b3e4e01f03e0185;hb=16ee00076365ddf4a1b85396c6673f2adbf215e8;hpb=d59b95791a1b6c94e2e83d9edc90314e572fcd5f diff --git a/view.sh b/view.sh index c08be24..eb348c6 100644 --- a/view.sh +++ b/view.sh @@ -36,7 +36,7 @@ printf 'Content-Type: text/html;charset=utf-8\r\n\r\n' ' "$(HTML "${ITEM##*/}" |sed -r "$w_ascii"' s;[^0-9a-zA-Z&#];&[wbr];g')" \ "$((length / 60))" "$((length % 60))" "$width" "$height" \ "$(printf '%s\n' "${tags#tags=}" |sed -r "$UNSTRING"' - s;^;,;; s;,+;,;g; s;,$;;; :X s;,([^,]+)(,|$); [span .tag\n \1]\2;; tX;' + s;^;,;; s;,+;,;g; s;,$;;; :X s;,-?([^,]+)(,|$); [span .tag\n \1]\2;; tX;' )" printf ' [div #editing