Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1999-08-09
1999-08-09 15:09:44 by Martin Nilsson <mani@lysator.liu.se>
6b5f77d2687811e8df318748768a3bc80ac3d291 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
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); }