Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.HTML

Method Parser.HTML()->splice_arg()


Method splice_arg

string splice_arg(void|string name)

Description

If given a string, it sets the splice argument name to it. It

If a splice argument name is set, it's parsed in all tags, both those with callbacks and those without. Wherever it occurs, its value (after being parsed for entities in the normal way) is inserted directly into the tag. E.g:

     <foo arg1="val 1" splice="arg2='val 2' arg3" arg4>
     
becomes
     <foo arg1="val 1" arg2='val 2' arg3 arg4>
     
if "splice" is set as the splice argument name.

Returns

the old splice argument name.