use a <div> for the infobox so mdwn doesn't insert <p> inside a <span>