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 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.286 2001/11/30 20:42:59 mast Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.287 2002/01/11 09:49:21 grubba Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphics: Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:932:       if(m->nowhitespace)    {    c=String.trim_all_whites(c);    m_delete(m, "nowhitespace");    }       m_delete(m, "noparse");    m_delete(m, "preparse");    -  c=replace(c, Roxen.replace_entities+({" "," ", "\n\n\n", "\n\n", "\r"}), -  Roxen.replace_values+({" ", " ", "\n", "\n", ""})); +  c=replace(c, Roxen.replace_entities + ({ +  " ", " ", +  "\n\n\n", "\n\n", +  "\r\n\r\n\r\n", "\r\n\r\n", "\r\n", +  "\r\r\r", "\r\r", "\r" +  }), +  Roxen.replace_values + ({ +  " ", " ", +  "\n", "\n", +  "\n", "\n", "\n", +  "\n", "\n", "\n", +  }));       if(m->maxlen)    c = c[..(( (int)m_delete(m,"maxlen") || query("deflen"))-1)];       return c;   }         // ----------------- gtext tags and containers -------------------