Also remove <a> without `rel="nofollow"'. - 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 9b1dd1063551243e9d7ec544edb57ff442091139
 (DIR) parent 66372fa22262388939a78713b73274751eb8687a
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Tue,  7 Aug 2018 18:11:49 
       
       Also remove <a> without `rel="nofollow"'.
       
       Probably they're pretty rare but one of them was present in at least:
       
        <https://lobste.rs/s/p0sgoj.json>
       
       ...probably due the missing `scheme://'...
       
       Diffstat:
        lobsters/comments.dcgi |  1 +
        1 files changed, 1 insertions(+), 0 deletions(-)
       ---
       diff -r 66372fa22262 -r 9b1dd1063551 lobsters/comments.dcgi
       --- a/lobsters/comments.dcgi    Tue Aug 07 12:59:20 2018 +0200
       +++ b/lobsters/comments.dcgi    Tue Aug 07 18:11:49 2018 +0200
       @@ -36,6 +36,7 @@
               gsub(/<ul>/, "", s)
               gsub(/<li>/, "\n - ", s)
               gsub(/<a href="[^"]+" rel="nofollow">/, "", s)
       +       gsub(/<a href="[^"]+">/, "", s)
               gsub(/<code>/, "", s)
               gsub(/<em>/, "", s)
               gsub(/<strong>/, "", s)