Remove all img-s - 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 c121ee80388603754be3dc78bb53ad2871eb47ff
(DIR) parent 2889b12af058015054c74e54aca9b7933be2604c
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 9 Sep 2018 09:58:47
Remove all img-s
Diffstat:
rep/article.cgi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff -r 2889b12af058 -r c121ee803886 rep/article.cgi
--- a/rep/article.cgi Sun Sep 09 02:16:41 2018 +0200
+++ b/rep/article.cgi Sun Sep 09 09:58:47 2018 +0200
@@ -38,6 +38,9 @@
next
}
+ # Remove images
+ gsub(/<noscript><img.*<\/noscript>/, "")
+
print
}
'