Make parsing the wiki as actual markdown less explosive

It turns out that the GitHub wiki parser isn't very strict regarding HTML syntax. I as trying to parse the wiki as normal markdown (with the kramdown engine, but more on that later), and the HTML syntax was so non-compliant that it crashed my console :). So, here's a fix for that (this is the result of 10 minutes of replace statements in N++).