added support for some textformatting