Fix markup exploit affecting 3.5+. Thanks to Ragnor for noticing.