Parse _|_ as a name in :doc

Fixes #1128.