Author

Topic: how to escape bbcode in posts [solved] (Read 654 times)

legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
April 22, 2015, 01:24:38 PM
#4
Put it in either another code block or [nobbc][/nobbc] tags. Eg. [code]unparsed code[/code].
Thanks theymos_away!  That's my education for the day. Smiley
member
Activity: 82
Merit: 26
April 22, 2015, 01:12:46 PM
#3
Put it in either another code block or [nobbc][/nobbc] tags. Eg. [code]unparsed code[/code].
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
April 22, 2015, 01:04:54 PM
#2
Actually I figured out what was up with this.  The colors appeared in the one message because there was a
However, my second question stands, how can we write bbcode tags in the body of a message, how can we escape them like when you want to write write < in html you need to write < so that the html parser ignores it?
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
April 21, 2015, 04:40:40 PM
#1
I noticed that [code\] blocks in my PMs in my inbox have no syntax highilighting, while the same messages in my outbox have syntax highlighting.  Has anyone else noticed this?  I guess I can generate screenshots but if it's already known the I don't want to waste the time.[/code\]

And btw, what's the more elegant way to escape [code\]?
Jump to: