i have an tag (parser hook) extension that outputs a <style> and <javascript> tags. in Parser.php, doBlockLevels is called before the page is returned. it goes over the page, line by line, converting some. in particular, it converts the lines inside the '<style>' tag.
i thought tag extensions can output what they want, and that it is not processed as wiki text.
thanks, ittay
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Moin,
On Sunday 21 January 2007 07:24, Ittay Dror wrote:
i have an tag (parser hook) extension that outputs a <style> and <javascript> tags. in Parser.php, doBlockLevels is called before the page is returned. it goes over the page, line by line, converting some. in particular, it converts the lines inside the '<style>' tag.
i thought tag extensions can output what they want, and that it is not processed as wiki text.
I have run into the same problem with my Graph::Easy extension, so I removed all newline from the output, basically outputting one giant long line. It doesn't look pretty, but it works.
I wish the Parser would be fixed, tho.
Best wishes,
Tels
- -- Signed on Sun Jan 21 11:49:21 2007 with key 0x93B84C15. View my photo gallery: http://bloodgate.com/photos PGP key on http://bloodgate.com/tels.asc or per email.
"Ok, a shiny copper piece to the first person who can tell me why Elan is running around naked." - "Giant moth attack?" - "Maybe a bad guy casted 'Dispel clothes'?" - The Order of the Stick issue #26
mediawiki-l@lists.wikimedia.org