Morsk he/him Posted April 11, 2013 Posted April 11, 2013 I just had this problem trying to link to Navani's Notebook on the Coppermind. Correct: http://coppermind.net/wiki/Navani%27s_notebook Broken: http://coppermind.net/wiki/Navani's_notebook Type out a URL with a %27 in it, the substitution for the Apostrophe. a. For example connect http:// and coppermind.net/wiki/Navani%27s_notebook into a URL. (If I posted it all as one string, it would get auto-converted. So I split it.) Preview it. a. The hyperlink in the preview will work, but b. The text in the edit box has been changed, with %27 converted into the ' character. Preview it again, or post it again. a. The hyperlink doesn't work correctly now. 2b looks like the part where things go wrong.
Joe ST he/him Posted April 11, 2013 Posted April 11, 2013 Yes, the WYSIWYG editor infers URLs in a bad way, leaving everyone annoyed. You can't even turn it off D:
Phantom Monstrosity Posted April 11, 2013 Posted April 11, 2013 Yes, the WYSIWYG editor infers URLs in a bad way, leaving everyone annoyed. You can't even turn it off D: PS: speaking of apostrophes, you've got an extra one in you sig's "mind's".
Morsk he/him Posted April 12, 2013 Author Posted April 12, 2013 (edited) I wasn't using WYSIWYG, and still had this bug. From a technical standpoint, I don't understand why it's bothering to convert % codes in posts we make. I thought % codes were only used in URLs, and the converting is done by the web server when it handles the request. Maybe it's some overactive anti-XSS security feature? If it's not just a bug. Edited April 12, 2013 by Morsk
Chaos he/him Posted April 12, 2013 Posted April 12, 2013 (edited) http://coppermind.net/wiki/Shallan's_father EDIT: To fix, turn off the rich text editor and paste the URL in with a url and /url tag. That was what I just did and that worked. Edited April 12, 2013 by Chaos
Morsk he/him Posted April 12, 2013 Author Posted April 12, 2013 (edited) I can post the URL once and have it work. What goes wrong is if I edit or preview a post with one of those URLs. It comes out wrong the second time, and has to be manually corrected every edit or preview. It's not a problem for little posts, but it would be a problem for a large FAQ that contained some of these links, to have the maintainer have to fix them on every edit. Edited April 12, 2013 by Morsk
Chaos he/him Posted April 12, 2013 Posted April 12, 2013 That's interesting. Apparently what happens when you edit a post containing that, the url tag becomes url=undefined, and so the link breaks. Very uncool. I don't like that at all.
Morsk he/him Posted April 12, 2013 Author Posted April 12, 2013 (edited) I was over-complicating it when I used URLs as the example. You can make a post with some of this %27 %27 %27 %27 %27 %27 %27 and then preview and post, or post and edit, anything like that. The first time through they're fine, but the second time through they're converted ' ' ' ' ' ' ' Edited April 13, 2013 by Morsk
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now