Fix markup exploit affecting 3.5+. Thanks to Ragnor for noticing. (reverted from commit 252111e4d09198ba39621dc48bd60954a7be8f13)