Reform HTML for Spacebar compatibility