-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[ASTextNode] slash symbol in string acts like new line symbol #173
Comments
From @hannahmbanana on January 10, 2017 22:48 @iwheelbuy - could you check if this matches the behavior of UILabel? |
From @iwheelbuy on January 11, 2017 16:15 UILabel is fine
|
From @iwheelbuy on January 11, 2017 16:49 That is the page I parse information from: http://mu-kgt.ru/informing/wapold/marsh/?t=1 |
From @hannahmbanana on January 12, 2017 19:47 @iwheelbuy - would you be willing to create an example project (or modify examples/layoutSpecExamples-Swift/LayoutExampleNode.swift - class HeaderWithRightAndLeftItems) to show this bug? I'm guessing it has something to do with the string encoding which I'm not too familiar with. |
From @iwheelbuy on January 15, 2017 13:38 Sample project is a bit complex, but it shows the issue. |
From @iwheelbuy on March 17, 2017 9:48 Jonhory, there is a broken link in your demo readme |
From @Jonhory on March 18, 2017 4:56 My Demo update. UPDATE:PNG show the issue:
Here is my code:
If my code have any question, maybe somebody can help me.Thanks. |
I know this issue is originally pretty old but I thought it was interesting and maybe someone runs into this in the future. The difference in behavior between I did note that In the comments it's assumed this is a whitespace or a newline (https://github.com/TextureGroup/Texture/blob/master/Source/TextKit/ASTextKitTailTruncater.mm#L134) but @Adlai-Holler I think you're the persion to talk to about everything textkit related right? Do you know if the difference in behavior for |
From @iwheelbuy on January 10, 2017 17:53
I have some strings to be presented in
ASTextNode
I don't expect a new line right after the
/
symbol, but the result is:Is there a way not to get new line after the
/
?The cell code:
Copied from original issue: facebookarchive/AsyncDisplayKit#2885
The text was updated successfully, but these errors were encountered: