Branch: Tag:

1999-08-09

1999-08-09 15:09:44 by Martin Nilsson <mani@lysator.liu.se>

Make gtext xml safe.

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

1: - constant cvs_version="$Id: graphic_text.pike,v 1.185 1999/07/19 22:03:59 neotron Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.186 1999/08/09 15:09:44 nilsson Exp $";   constant thread_safe=1;      #include <config.h>
988:    "alt":(arg->alt||word),    "src":query_internal_location()+fn+gif,    ]); +  if(!arg->noxml) tag+=(["/":"/"]);    if( size )    {    tag->width = (string)size->xsize;
1052:    + "\" src=\""    + query_internal_location()+num+gif+"\" "+ea    + " align="+(al || defalign) -  + (size?(" width="+size->xsize+" height="+size->ysize):"")+">"+ +  + (size?(" width="+size->xsize+" height="+size->ysize):"")+(arg->nomxl?"":" /")+">"+    rest+(lp?"</a>":"")+post);   }