Problem displaying % character in posts and within code tags
LQ Suggestions & FeedbackDo you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From what I can tell, it makes no difference where the percent symbol shows up in the post. It's ALWAYS the first symbol that gets removed, none of the others. This is a real problem when you go to edit your post. First post you have to stick a phantom percent symbol somewhere in there, which will get removed when you submit. When you go to edit, if you don't add the phantom percent symbol back in, the next one gets removed, then if you edit again the next one gets removed, and so on. If you quote somebody who had a percent (that made it through the filtering process), then their's will be removed, if it's the first one in your post, and so on...
Last edited by suicidaleggroll; 04-30-2015 at 04:48 PM.
I am advanced:
1 pct:
2 pct concatenated:%
3 pct concatenated:%%%
@suicidaleggroll
you're basically right, everything works fine when posting from the "Go Advanced"-mode.
After having edited my answer to add the above sentence one of the test cases is false :P
Last edited by Pearlseattle; 04-30-2015 at 05:10 PM.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
Thanks for the in-depth troubleshooting. I don't see anything obvious that would cause this, but we'll take a closer look. It's been confirmed that it's not an issue at CQ/AQ, which is the next version of the platform that will be coming to LQ in the future.
If I edit the post in the non-advanced editor, then the percent sign in the code block disappears. If I edit it in the advanced editor, then the percent sign stays.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.