Sound like my post was not complete, here's again
Not sure if my subject is correct, but here's my problem
I try to write a parser function, which return html code ( see below why I use parser function).
The function receive template variables that create and return an html form. In this form returned, I have a small javascript that contains "&". All the & are converted by & which break the html code.
From http://www.mediawiki.org/wiki/Extending_wiki_markup#Parser_functions
I could use a return statement with flag like isHTML and noparse, but I can't seem to find any way to have the "&" not converted. I try to return my code in single quote, without success.
Is this a normal behavior, or there is a way to avoid this situation.
I initially try to write a xml style extention instead, again called from the template, but I can't send template variable to it , they are not expanded. This would also fix my problem if I could send variables, but this doesn't seem to work with template. Is it also an expected behavior, or the PEBKAC
Thank