[Mediawiki-l] bug:<pre>-Tag corrupts texts in MediaWiki
Tels
nospam-abuse at bloodgate.com
Sat Feb 10 22:42:53 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moin,
On Saturday 10 February 2007 19:09:30 Gunter wrote:
> Hello,
>
> I have a fresh installation 1.9.2.
>
> I created a new page with some text in it:
> http://beadsoft.net/wtest/index.php?title=Textloss&oldid=42
>
> between the <pre>-tags I do have HTML-coding.
You need:
* to put these in <nowiki>..</nowiki>
* and escape all the "<" and probably ">" with "<" and ">".
Otherwise your browser will interpret the HTML it is send and do funky stuff
like corrupting the text on edit etc.
if you just put valid HTMl code between <pre>, it will get interpreted by
the browser. This is usefull if you want, f.i. red text inside pre, but
useless for everything else.
best wishes,
tels
- --
Signed on Sat Feb 10 23:40:38 2007 with key 0x93B84C15.
Get one of my photo posters: http://bloodgate.com/posters
PGP key on http://bloodgate.com/tels.asc or per email.
"Zudem könnten nun nicht mehr nur Täter, sondern auch Opfer abgehört
werden, um diese besser zu schützen." Jörg Bode, FDP -
http://heise.de/newsticker/data/anw-11.12.03-003/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQEVAwUBRc5Kf3cLPEOTuEwVAQLghAf/UsDUyWpstOCA/r8kaoR8lXEieAJTFdU9
kGXgxTF1CvS/fuE8AkyrS/8phi6TbNbdQkx99nDzoRqFL43nOktmgbBeU4d53J0c
4yM5Cj22nL3s0GgSWEH1FtaTI6iuVmcoFSbrKcVkXddZstHaQua4jJGFJuXkIY39
R6zPXVoqqDGEFLgbTbhyGMVQGbSGIVVe1jL+aZZ5C++5rWYa74sWemc9jorsc2Dd
tocIK+7JeYFd9xo+GJOJEAPLcurr+aRnkJgvvu1hQ1RhkT4QzjU+hFmO5k1Y4RqL
PYFhGd6tPlwqBc7G1k99XSDTezJQ0SpPgWIpELpIqMUmFZJga+HjCw==
=ivCI
-----END PGP SIGNATURE-----
More information about the MediaWiki-l
mailing list