Fix #301.
Fix #302.
Implement option for #269 enabletrusttext needs to be enabled in order to make this work.
This is a security precaution, preventing XSS and other types of attacks.
Fix #269.
Fix #278.
Fix #295.
Fix #305.