doc: fix bracket ambiguity

Fixes #5093