Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Perhaps) Undocumented Way to "Escape" BBCODE Tags?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7841
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Oct 14, 2011 1:53 pm    Post subject: (Perhaps) Undocumented Way to "Escape" BBCODE Tags Reply with quote

While generally being overly pedantic and chastising forum posters to make their posts more clear and readable by asking them to include, for instance, code in "code" tags, I don't know of a perfect way to illustrate the technique. I was just wondering if anyone was aware of a way to "escape" BBCODE tags so they would show up literally in regular text. I've discovered that they do show up literally if embedded in code tags,
Code:
[code]Do this.[/code]
[quote="John"]Hello, world.[/quote]
but that's not always optimal. Anyone know something I don't? (On this topic, I mean. :wink: )

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3200

PostPosted: Fri Oct 14, 2011 5:41 pm    Post subject: Reply with quote

You can do it by clicking the "Disable BBCode in this post" checkbox under the textarea:

[code]test1[/code]
[quote]test2[/quote]


EDIT: Other ideas here: http://www.phpbb.com/community/viewtopic.php?f=46&t=1721345
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4161
Location: Removed by Neddy

PostPosted: Fri Oct 21, 2011 9:44 pm    Post subject: Reply with quote

[noparse]
Code:

test

[/noparse]


--edit meh, that is valid BBcode, just not for phpBB or this version
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum