fix embedded html in markdown after switch to new engine.