/qa/ - Questions and Answers

Keeping the community together by giving you a voice


If you want to see the latest posts from all boards in a convenient way please check out /overboard/

Name
Email
Subject
By clicking New Reply, I acknowledge the existence of the Israeli nuclear arsenal.
Comment
0
Select File / Oekaki
File(s)
Password (For file and/or post deletion.)

Screenshot_20201115_030225.png
Bug found
Anonymous
No.5232
5233
The New Code thread is archived, so I post it here.
Green text is not showing up, partially.
Pupper
## Admin
No.5233
5234
>>5232
Reason for this is that Twitter adds Unicode directional control characters around @users names. When copypasting the text a lineshift was added before the end control char adding an hidden Unicode directional control end character before the >. This result in the line not starting with > but rather the hidden UTF-8 control char resulting in not making it greentext.
Anonymous
No.5234
5235
>>5233
Understood.
Next time I'll delete that @.
Pupper
## Admin
No.5235
5236
>>5234
If you copy into notepad or similar you will see the control characters I talk about and can easily remove them. If you copy paste in textarea in browser you won't see them, but if you use arrow keys to "navigate" you will encounter a char that don't move cursor before and after the @user portion.
Anonymous
No.5236
Sgfjf.png
>>5235
Thanks for the explanation but I can't see them, neither with Kate nor Gedit.
I'll delete the @ for sure next time.