Backport fix for #40
Don't raise errors in parse when pasting