note
remove need for normalisation to trim each text node - found that this was causing some ugly rendering issues.
implemented