API Docs for: 0.25.0
Show:

fix-special-char Class

Module: utils
Parent Module: ember-osf

Item Index

Methods

Methods

fixSpecialChar

(
  • inputString
)
String | Null

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 &amp; sequences with &, &lt; with < and &gt; with >. Template helper and ember-data field versions of this function are available.

Parameters:

  • inputString String

    A string value to be transformed

Returns:

String | Null: