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.
Problem displaying % character in posts and within code tags
Just want to report that I have had difficulty displaying the % character in normal posts and also within [code][/code] tags.
The display can be made to work within normal posts when [noparse][/noparse] tags are used, but this technique does not work within [code][/code] tags.
For example - http://www.linuxquestions.org/questi...8/#post5343293
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I just tried in the other thread and found an issue, so I'll try to repeat it here, the issue appears to be that brace, percentage, brace doesn't come out and you get:
This gets weirder. Now I can edit the post that I was having problems with. Perhaps logging out and logging back in has made a difference.
This is probably PEBCAK. My apologies for the noise.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by allend
This gets weirder. Now I can edit the post that I was having problems with. Perhaps logging out and logging back in has made a difference.
This is probably PEBCAK. My apologies for the noise.
I think there is an issue here -- when I type () in code tags the % vanishes. There may be other things going on but that I can replicate, like this:
Code:
(%)
OK, now that works.
Perhaps we're both doing something wrong?
Just got this in a quick edit of this post. A percent on a line I didn't edit got eaten. I tried to put it back with another quick edit and it got eaten again, and the % was also eaten from the Reason for Editing field. After trying again with the advanced edit it worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.