Moin,
On Monday 06 February 2006 06:17, LJ wrote:
Cynicism aside Rob, I appreciate the reply.
Did a bit more digging, and found this 'bug' in bugzilla:
http://bugzilla.wikimedia.org/show_bug.cgi?id=1772
Seems like it's been around awhile. I updated the version, added a
note, and voted for it.
For the time being I can work around it by limiting the text I insert
between my tags (no newlines). However, I'd like to publish my
extension, and I'm unlikely to do so if I have to have the caveat of:
'you have to format the tagged content just-so...'.
Don't know if my previous global flag or callable method ideas have
much merit ( or are feasible to integrate into the parser structure ).
But, it'd be nice if a developer latched on to them... :)
Btw, the Graph::Easy extension (returing HTML) also runs into this. Even
when you add no emoty lines and leading spaces, mediawiki seems to insert
a paragraph every N lines or so. This of course creates wierd empty
spaces in the generated table :(
In the end I stripped *ever* \n from the output and now return a gigantous
long line.
A way to switch this off from my extension would be great, because the
emitted HTML becomes impossible to debug or inspect.
Best wishes,
Tels
--
Signed on Mon Feb 6 18:37:41 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"Retsina?" - "Ja, Papa?" - "Rasenmähen." - "Is gut,
Papa."