Remove `Show more' noise. - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset 8c095f22c355de1ab27f9ba0b4c8e5fffba0b207
(DIR) parent 9a513280d96c9f6fffab9adce599b74d4543829f
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Mon, 17 Dec 2018 00:55:46
Remove `Show more' noise.
Diffstat:
mastodon/mastodon.dcgi | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff -r 9a513280d96c -r 8c095f22c355 mastodon/mastodon.dcgi
--- a/mastodon/mastodon.dcgi Mon Dec 17 00:40:25 2018 +0100
+++ b/mastodon/mastodon.dcgi Mon Dec 17 00:55:46 2018 +0100
@@ -75,6 +75,7 @@
if (match($0, /class=.status__content/)) {
gsub(/'/, "\\'");
+ gsub(/ <\/span><a class=.+ href=.#.>Show more<\/a>/, "");
toot["content"] = $0
}