Bug fix in quote nowiki removal.

* Based on noticing unfixed regressions in RT-testing

* Followup to f48ac8c7701da64c926331e2f5542d775db2b424

Change-Id: I9a72f1dd22be0cb48a3661bc39710b0df7db9d25
Merge "Bug fix in quote nowiki removal."