summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc/bin/hpost3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/bin/hpost b/rc/bin/hpost
index 6ac5b839d..e64679a87 100755
--- a/rc/bin/hpost
+++ b/rc/bin/hpost
@@ -107,7 +107,8 @@ for(i in $at $af){
n=(1 $n)
}
a$#n=''
-hget $url | uhtml | sed '
+hget $url | uhtml | tr '>' '
+' | sed '
s!^(TAG|ATT)! \1!g; # escape our inline signaling
s!<[ ]*!\nTAG !g; # find starttags, mark with TAG name ...
s!>[^>"'']*$!!g; # remove garbage after the tag