Forum Index > Bug Reporting > Forums deleting copied/pasted " '...
Page 1
Author
Thread Post
Hiraeth
Level 75
Hand of Destiny
Joined: 7/14/2015
Threads: 187
Posts: 2,685
Posted: 2/27/2020 at 8:39 PM
Post #1
I'm copy-pasting a large amount of text into the forums from google docs to here - after formatting everything. Said punctuation copies and pastes fine, it even previews fine, but when I post, all of my " ' and ... s are missing and I have to manually add them.
Example: I'll copy and paste a sentence that says
"That's [*i]my[*/i] thing...!" Cal yelps.
It will preview as
"That's my thing...!" Cal yelps.
but will post as
Thats my thing! Cal yelps.
Hope this is clarifying. A bit of an annoying problem lol but probably doesn't take precedence!
Edited By Hiraeth on 2/27/2020 at 8:39 PM.
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,242
Posts: 15,407
Posted: 3/2/2020 at 11:31 AM
Post #2
So, there's this weird thing with apostrophes and quotation marks where the symbol has multiple ASCII codes. Before any text hits the database, it's heavily sanitized as to prevent any malicious or unintended consequences to the database or what's ultimately re-displayed back to any viewer. Part of this process is sanitizing things like apostrophes and quotation marks. So in the database, it just looks like a bunch of gibberish where basically everything is all ASCII Codes and raw text.
Starting a few years ago, various things started using different version of ' and " I guess to where now our code doesn't recognize them as such and they get sanitized out. This has been an issue with Apple products for awhile.
So, my guess, is that's what is happening here. The program you used is using a slightly different version of the ' and " instead of the standard classic version that our code parses. Thus, they're getting lost.
& #39; is the traditional '
& #34; is the traditional "
However, the newer standard is now & #8217; for the ' it seems after a quick search. And our code isn't parsing correctly for that.
Hiraeth
Level 75
Hand of Destiny
Joined: 7/14/2015
Threads: 187
Posts: 2,685
Posted: 3/2/2020 at 1:47 PM
Post #3
Ah yes, ASCII. xD
Good thing I found a text cleaner-forum-format thing! Thanks for clearing that up.
Confirm Action
Are you sure you wish to delete this post?
Confirm Action
Are you sure you wish to restore this post?
Confirm Action
Are you sure you wish to report this post?
Go to Top
This Page loaded in 0.008 seconds.
Terms of Service | Privacy Policy | Contact Us | Credits | Job Opportunities