(Bug 66514) Fix bug in nowiki-escaping of magic words

* Updated a parser test to catch a regression in future.

Change-Id: Ife05428e2655e4fdd0a3c338e360686d92850924
Merge "(Bug 66514) Fix bug in nowiki-escaping of magic words"