Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode letters and digits are not underlined #140

Open
suhailkaleem opened this issue Apr 17, 2013 · 1 comment
Open

unicode letters and digits are not underlined #140

suhailkaleem opened this issue Apr 17, 2013 · 1 comment
Labels

Comments

@suhailkaleem
Copy link

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

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

@AliSoftware
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants