S Vashisht wrote:
> Hello,
>
> I'm trying to learn how to convert MediaWiki markup to HTML. One of the
> ways I've figured out is by sending a query to api.php:
>
>
http://en.wikipedia.org/w/api.php?action=parse&text={{Project:Sandbox}}&format=xml
>
> After parsing response which I get is all special characters in HTML are
> kind of escaped. For e.g. < is <
>
> So <a> becomes
>
> <a>
>
> Is there any way to disable this feature ?
>
> Regards,
> Siteshwar Vashisht
When you get the results in XML format, those characters need to be
escaped. Add a &format= parameter for a different one (with different
escapings).
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api