Board Thread:Support Requests - Getting Technical/@comment-6475116-20160313235825/@comment-1997905-20160314010857

Why are you trying to parse wikitext?

Generally the wikitext output is more useful. It's how pages are stored internally, and it's the only way you can edit the page. You can get HTML if you want it, but it's a bit roundabout because (especially in JS) if you need HTML of a page, there's generally a better way to get it.