Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BBcode: How to espace tags i.e. open bracket "["
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
teika
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2011
Posts: 96
Location: Teika rhymes w/ "Stay blur", not ψ̄

PostPosted: Thu Feb 09, 2017 7:38 am    Post subject: BBcode: How to espace tags i.e. open bracket "[" Reply with quote

Edit: As pointed out by Akkara in the next message, replace every open bracket [ with
  [[b][/b]
This one displays a snippet you can copy & paste. It's far better than mine. Thanks!

--- Below is obsolete ---
You can escape an open bracket with:
[color=black][[/color]
i.e. by sandwiching an open bracket with "color=black"

Usage example:
[color=black][[/color]topic=1058924]a topic link[/topic]

It produces:
[topic=1058924]a topic link[/topic] (extra closing tags will be rendered as-is.)

I can't find any other simple way that you can copy & paste. It seems to be a kind of BBcode bug.
_________________
Easy Shift / Ctrl / AltGr ... hack; save your pinkies, type without drudgery: topic 865313


Last edited by teika on Fri Feb 10, 2017 12:19 am; edited 2 times in total
Back to top
View user's profile Send private message
Akkara
Administrator
Administrator


Joined: 28 Mar 2006
Posts: 6364
Location: &akkara

PostPosted: Thu Feb 09, 2017 9:43 am    Post subject: Reply with quote

You can use a empty italics or bold tag immediately after the '[', and the parser stops trying to interpret it:
Code:
[[i][/i]topic=1059076]Self-referential topic[/topic]

Shows up as: [topic=1059076]Self-referential topic[/topic]

Yes, it's a hack. But not as bad of one :)
_________________
The reason there appears to be no god in the world, is because he's overwhelmed constantly pulling all those miracles that are needed to keep all the software we're using, mostly working.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


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

PostPosted: Mon Feb 13, 2017 9:30 am    Post subject: Reply with quote

noparse is a valid BBcode, just this forum is out of date :(
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
teika
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2011
Posts: 96
Location: Teika rhymes w/ "Stay blur", not ψ̄

PostPosted: Fri Mar 03, 2017 6:58 am    Post subject: Reply with quote

Hm, "valid" is not exact; there's no "official" BB code, and not few forums do fail to support [noparse]. (Arch and Debian forums don't, either.)

Of coures it'd be great if Gentoo Forum gets improved. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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