OHAttributedLabel
OHAttributedLabel copied to clipboard
unicode letters and digits are not underlined
< u >< /u > does not underlined unicode numbers and letters
like < u >٠١٢٣٤٥٦٧٨٩< /u > will not be underlined
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
NSAttributedStringhas the same issue when you use it onUILabel(in iOS6 which supportsNSAttributedStrings)? - When you add the underline attribute yourself, or via
-[NSMutableAttributeString setTextIsUnderlined:YES range:…], the text is then correctly underlined?
Thx