Fix SQL escaping in wiki parser.