Introduction
Introduction Statistics Contact Development Disclaimer Help
sfeed_content: show any other content-type than "html" as plain-text - sfeed_cu…
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit bed53f9cf8124b7fe556ac809e6479c017abfbbc
parent 85d1802fa73cb7311c6c2a4c917fcd16f647fbed
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 21 Apr 2021 17:02:38 +0200
sfeed_content: show any other content-type than "html" as plain-text
Diffstat:
M sfeed_content | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sfeed_content b/sfeed_content
@@ -46,11 +46,11 @@ BEGIN {
if (!length($4))
next;
print "";
- if ($5 == "plain") {
- print unescape($4);
- } else if ($5 == "html") {
+ if ($5 == "html") {
print unescape($4) | htmlconv;
close(htmlconv);
+ } else {
+ print unescape($4);
}
}' | \
${PAGER:-less -R}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.