Branch: Tag:

2002-02-06

2002-02-06 22:31:02 by Martin Nilsson <mani@lysator.liu.se>

Don't leak magic attibutes to the HTML.

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

1:   // This is a roxen module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.290 2002/02/05 15:13:02 anders Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.291 2002/02/06 22:31:02 nilsson Exp $";      #include <module.h>   inherit "module";
1102:       m_delete(p, "fgcolor");    foreach(glob("magic-*", indices(arg)), string q) -  p[q[6..]]=arg[q]; +  p[q[6..]]=m_delete(arg, q);       if(!p->fgcolor) p->fgcolor=id->misc->defines->theme_alink||    id->misc->defines->alink||"#ff0000";