Smartsite SXML CopyCode image Copy Code
{buffer.set(data, "© all rights reserved")}

<!-- WRONG: character entity references title cased-->
{string.totitlecase($data)} => &Copy; All Rights Reserved

<!-- RIGHT: decode char entity references before titlecase -->
{string.totitlecase(string.decodecharentities($data))} => © All Rights Reserved
Example Result CopyCode image Copy Code
<!-- WRONG: character entity references title cased-->
&Copy; All Rights Reserved => &Copy; All Rights Reserved

<!-- RIGHT: decode char entity references before titlecase -->
© All Rights Reserved => © All Rights Reserved
SXML