add support for attributed strings
Merge pull request #14 from Adrian2112/master

add support for attributed strings