There is a significant copy-pasting of the same code, for `Text` and `MarkupText`, instead if needs to be cleaned up so it is more maintainable.
There is a significant copy-pasting of the same code, for
TextandMarkupText, instead if needs to be cleaned up so it is more maintainable.