Follow TV Tropes

Following

Processing backslashes for linebreaks ignores escape-out code

Go To

Nohbody "In distress", my ass. from Somewhere in Dixie Since: Jan, 2001 Relationship Status: Mu
"In distress", my ass.
#1: Feb 15th 2014 at 10:02:17 PM

Normally, when demonstrating a wiki function without activating it, one uses the escape codes [= =] around the function in question.

However, for the double backslash used to break up lines without a double-spaced line, it partially ignores the escape code when trying to use it to show how it works, resulting in one of the slashes vanishing. When you go to edit the post, the slashes disappear completely, leaving just the escape code with nothing inside.

Here's what I mean, done as an upload elsewhere so wiki code processing isn't an issue.

I don't know how to address the issue, or even know that it's not just me doing it wrong, but it is kind of annoying.

All your safe space are belong to Trump
Sixthhokage1 Since: Feb, 2013
#2: Feb 15th 2014 at 10:15:28 PM

It seems that the backslash as an escape character is parsed before the escape markup is. So every one backslash that you want to display you have to double up.

Willbyr Hi (Y2K) Relationship Status: With my statistically significant other
Hi
#3: Feb 17th 2016 at 7:27:09 AM

Bumping; is this still an issue?

SeptimusHeap from Switzerland (Edited uphill both ways) Relationship Status: Mu
#4: Feb 17th 2016 at 7:50:04 AM

~Nohbody?

"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard Feynman
Nohbody "In distress", my ass. from Somewhere in Dixie Since: Jan, 2001 Relationship Status: Mu
"In distress", my ass.
#5: Feb 17th 2016 at 5:34:36 PM

Totally forgot about this issue.

\\

\\

Ok, the first one is escaping out each backslash individually, while the second is putting both backslashes within one set of escape code. Both display properly on the first try, with two backslashes, but going back to edit the one with each backslash escaped out separately still results in the issue shown in that text file a few posts (and a year ago) back.

edited 17th Feb '16 5:38:55 PM by Nohbody

All your safe space are belong to Trump
Willbyr Hi (Y2K) Relationship Status: With my statistically significant other
Hi
#6: Feb 17th 2016 at 7:25:23 PM

~Nohbody, since you're more familiar with what's going on with this, would you mind adding it to Query Bugs if you haven't already?

Nohbody "In distress", my ass. from Somewhere in Dixie Since: Jan, 2001 Relationship Status: Mu
"In distress", my ass.
#7: Feb 18th 2016 at 9:03:05 AM

I haven't previously, but it's there now.

edited 18th Feb '16 9:10:14 AM by Nohbody

All your safe space are belong to Trump
Willbyr Hi (Y2K) Relationship Status: With my statistically significant other
Hi
#8: Feb 18th 2016 at 9:25:56 AM

Cool, thanks. Locking.

Add Post

Total posts: 8
Top