strip CR and LF from placeholder attr, as in W3C spec