Also substitute HTML entities. - 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 c63d3dc29ae4d280181f9cd20802ad2f9b912b57
 (DIR) parent b35be4963e1911fbaf52f85fca371ba9e10578e0
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Wed,  8 Aug 2018 01:02:35 
       
       Also substitute HTML entities.
       
       Diffstat:
        lobsters/comments.dcgi |  3 +++
        1 files changed, 3 insertions(+), 0 deletions(-)
       ---
       diff -r b35be4963e19 -r c63d3dc29ae4 lobsters/comments.dcgi
       --- a/lobsters/comments.dcgi    Wed Aug 08 00:17:56 2018 +0200
       +++ b/lobsters/comments.dcgi    Wed Aug 08 01:02:35 2018 +0200
       @@ -46,6 +46,9 @@
               gsub(/<code>/, "", s)
               gsub(/<em>/, "", s)
               gsub(/<strong>/, "", s)
       +       gsub(/&amp;/, "\\&", s)
       +       gsub(/&lt;/, "<", s)
       +       gsub(/&gt;/, ">", s)
               return s
        }