psharanda / Atributika

Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
MIT License
1.45k stars 155 forks source link

Add logic to detect tag groups #133

Closed LesykMelnychuk closed 1 year ago

LesykMelnychuk commented 4 years ago

Added logic to process grouped tags: GroupedStyle([b, i], attributes)

<b><i>text</i></b> => would be detected as separate style

psharanda commented 4 years ago

Hi there, Wow, that looks like really useful. Please, could you update PR description with short explanation of what it is done in it?

LesykMelnychuk commented 4 years ago

ok

psharanda commented 4 years ago

@LesykMelnychuk Could you base your PR on master, not on the other PR? Also tests are required for new features, and I can't approve PR without them

LesykMelnychuk commented 4 years ago

@psharanda Added test, have no access to fix merge conflict

psharanda commented 1 year ago

This was addressed in V5. Take a look at Demo snippets