hpost: break up tags with newlines to avoid sed line buffer limit
This commit is contained in:
parent
242007de7c
commit
2e802acf34
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue