Fix regex that detects end of article. - tgtimes - The Gopher Times
HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit bef5987b8456b7c83745e4561debe8264866d6fa
DIR parent 6ecd7539c18c2913a95a84e3585dc245e22912f8
HTML Author: Troels Henriksen <athas@sigkill.dk>
Date: Sun, 27 Aug 2023 22:05:11 +0200
Fix regex that detects end of article.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M filters/nudge.filter | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/filters/nudge.filter b/filters/nudge.filter
@@ -23,6 +23,6 @@ BEGIN {
incontent = 1;
}
}
-/^$/ { incontent = 0; }
+/`----/ { incontent = 0; }
{ print $0; line++; }