Add more TRAILING_PUNCTUATION to work with YAML.

Fixes #1517