[Mediawiki-l] <pre> tag parsing not handeled

Waleed Meligy waleed.meligy at gmail.com
Thu Jun 7 08:07:15 UTC 2007


Jim,

Thanks for your response. After checking, Turns out all i had to do was to
turn the "tidy" option on. And that solved it!


Thank you for your response once again,

Waleed A. Meligy

On 6/3/07, Jim Wilson <wilson.jim.r at gmail.com> wrote:
>
> That's how <pre> works in MediaWiki - it replaces some entities in the
> internal data.
>
> If you want a preformatted text block that still interprets wikitext,
> simply
> indent all the lines with a leading space.  So instead of this:
>
> <pre>
> Something here
> </pre>
>
> You'd do this:
>
>   Something here
>
> At least, I think that's what you're getting at.
>
> Another thing to note: both "&lt;" and "<" will appear as "&lt;" in the
> HTML
> and thus displayed as "<" on the page.  If you really want to see "&lt;"
> on
> the page, you have to put "&amp;lt;" inside the <pre> tag.
>
> -- Jim R. Wilson (jimbojw)
>
> On 6/2/07, Waleed Meligy <waleed.meligy at gmail.com> wrote:
> >
> > Hello All,
> >
> > My <Pre> tag is rendered normally in the mediawiki articles. resulting
> in
> > table tags being written a &lt;table instead of <table. Making the
> > articles
> > look funny.
> > Can you please help ?
> >
> >
> > Thank you for your time,
> >
> > Waleed A. Meligy
> >
> > --
> > Thank you for your time,
> >
> > Waleed A. Meligy
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
Thank you for your time,

Waleed A. Meligy


More information about the MediaWiki-l mailing list