Fix quote marks related i18n bug

Output HTML escaped localized text is not good, as Javascript does not handle HTML escaped strings and the escaped strings will be displayed in their raw format.
#4282
#4345