Bug 51405: Recognize and escape nowiki with spaces and odd capitalization

Change-Id: Ia489cd35766ae7410427e47e1e33f3d0fdf13fbf
Merge "Bug 51405: Recognize and escape nowiki with spaces and odd capitalization"