fixes semicolon suppression issue in %paste

closes #6130