Fix escaping issue on Special:Ask

bug 46852

patch by Chris Steipp

Change-Id: Ic6098ee8c6f5433bef08888915fcc4242e821b22