[Extension][Datatype] Fixed htmlencode and htmldecode for String.