fix-special-char Class
Item Index
Methods
Methods
fixSpecialChar
(
String | Null
-
inputString
This function is useful for fixing a bad API behavior. In certain cases the server will insert HTML escape
sequences into text, and this will replace &
sequences with &
, <
with <
and >
with >
.
Template helper and ember-data field versions of this function are available.
Parameters:
-
inputString
StringA string value to be transformed
Returns:
String | Null: