Remove all <img>-s to limit 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 2043a831781bdd70874b850c7df914c90ffb9e4c (DIR) parent 8951137022a682fa074328be2c4ee5f4a373f179 (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Sat, 25 Aug 2018 23:36:55 Remove all <img>-s to limit noise Diffstat: internazionale/article.cgi | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) --- diff -r 8951137022a6 -r 2043a831781b internazionale/article.cgi --- a/internazionale/article.cgi Sat Aug 25 23:23:51 2018 +0200 +++ b/internazionale/article.cgi Sat Aug 25 23:36:55 2018 +0200 @@ -42,6 +42,9 @@ } { + # Remove all img-s + gsub(/<img [^>]+\/?>/, "") + print } '