below is my code:
<RaisedButton id="abc" title={formatHTMLMessage({id: 'T_TEXT_TOOL_TITLE'})} className="abcClass" />
T_TEXT_TOOL_TITLE=Some Text to show'
When rendering the above component in the UI, the formatHTMLMessage
function do not render the '
character as a single quote ('
), instead it displays '
.
I tried another function formatMessage()
as well, but it did not work.
Please find the screenshot :