sfeed_content: remove wrapping using the <span> tag. - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
HTML git clone git://git.codemadness.org/sfeed_curses
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit faebbca4b7d9969875e5794ea0c587069406e76a
DIR parent 9e292408a6acd1f4bdb3791638a0aab0b089b74d
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 18 Dec 2020 13:38:03 +0100
sfeed_content: remove wrapping using the <span> tag.
It was a workaround for handling nested tags in the experimental "webdump" tool
and is not needed for lynx. If needed it can be modified by the user.
Diffstat:
M sfeed_content | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/sfeed_content b/sfeed_content
@@ -34,8 +34,7 @@ BEGIN {
if ($5 == "plain") {
print unescape($4);
} else {
- print ("<span>" unescape($4) "</span>") | \
- htmlconv;
+ print unescape($4) | htmlconv;
close(htmlconv);
}
exit;