Hacksprint wrote:
Is it true that callbacks set by setHook can only handle tags of the form:
<tag>content</tag>
And not tags of the form:
<tag attribute="value">content</tag>
Thanks
That's correct. If you know your way around a regex you could probably change that, by fixing Parser.php and sending us the patch. I imagine you could pass an array of attributes to the hook function as a second parameter. You'd just have to change the regexes used to identify these tags.
-- Tim Starling