OHAttributedLabel icon indicating copy to clipboard operation
OHAttributedLabel copied to clipboard

unicode letters and digits are not underlined

Open suhailkaleem opened this issue 12 years ago • 1 comments

< u >< /u > does not underlined unicode numbers and letters

like < u >٠١٢٣٤٥٦٧٨٩< /u > will not be underlined

suhailkaleem avatar Apr 17 '13 16:04 suhailkaleem

I guess that you mean when using the OHASBasicHTMLParser to build your NSAttributedString?

So can you confirm this is not related to OHAttributedLabel itself (and its CoreText rendering) but only to the helper methods of OHASBasicHTMLParser used to build an NSAttributedString?

  • This built NSAttributedString has the same issue when you use it on UILabel (in iOS6 which supports NSAttributedStrings)?
  • When you add the underline attribute yourself, or via -[NSMutableAttributeString setTextIsUnderlined:YES range:…], the text is then correctly underlined?

Thx

AliSoftware avatar Oct 02 '13 20:10 AliSoftware