Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike: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";   inherit "roxenlib";         // ------------------- Module registration ---------------------      constant module_type = MODULE_PARSER;   constant module_name = "Graphics text";
Roxen.git/server/modules/graphics/graphic_text.pike:342:    m_delete(m, "nowhitespace");    }       if(!m->noparse && !m->preparse)    c = parse_rxml(c, id);    else {    m_delete(m, "noparse");    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)];    m_delete(m, "maxlen");    }       return c;   }