Return an empty string if text to html text is false or undefined.
Throw an error when loading a schedule item that doesn't contain a definition.