Does anyone know how to remove the line breaks and the <p> and <pre> tags
that mediawiki seems to add internally
while publishing a page. I am working on this project where any text added
by the user in the wiki is processed and
transferred to an editor and while i am trying to maintain the alignment,
mediawiki tends to add extra spaces and lines.
How can I take care of this ?