Docs: correct substitution syntax when preceding character is symbol.  Fixes #970.