Branch: Tag:

2000-02-29

2000-02-29 23:14:05 by Martin Nilsson <mani@lysator.liu.se>

Behave even more like normal HTML.

Rev: server/modules/graphics/graphic_text.pike:1.207

1:   // This is a roxen module. Copyright © 1996 - 2000, Idonex AB.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.206 2000/02/29 15:02:26 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.207 2000/02/29 23:14:05 nilsson Exp $";      #include <module.h>   inherit "module";
349:    m_delete(m, "preparse");    }    -  c=html_decode_string(c); +  c=replace(c, replace_entities+({" "," ", "\n\n\n", "\n\n", "\r"}), +  replace_values+({" ", " ", "\n", "\n", ""}));       if(m->maxlen) {    c = c[..(((int)m->maxlen||QUERY(deflen))-1)];