Replace markdown with paragraph adding only

This is faster and causes less issue with nested html and html entities
At some point I can add features, but at the moment it's good

Basically it uses a state machine with a stack to not process / add new
paragraphs within block level html elements (as defined on the Mozilla
site).