Ignore single and double quotes when converting special characters to HTML entities in Console::query()