Wysiwyg -> visual update plus normaliseText helper for testing