escaping bbcode tags

giacomo

Well-known Member
Joined
Feb 20, 2002
Messages
1,796
If I have a field in my query that is also a bbcode tag it breaks BCode tag... is there a way to escape it? Also, it's interesting the way it handles the quote tag versus the code tag.


Code:
select [x] from tblCode;

Code:
select [code] from tblCode;

select [x] from tblCode;

select
from tblCode;

I know I can disable the bbcode, but I am curious if there is an escape instead. I tried double brackets [[ and slashes and quotes but none worked.

Giacomo
 
Let's see, test:
<pre>
Code:
Test
</pre>
Code:
Test
Edit: Don't think so... Disable BBCode. :)
 
If all you're wanting to do is use one tag--that happens to be the same as a BBcode tag--inside another, you could just add a space:

Code:
Select the [ code] tag
 
If all you're wanting to do is use one tag--that happens to be the same as a BBcode tag--inside another, you could just add a space:

Code:
Select the [ code] tag

Thanks. I thought of that too. :biggrin:

This is more of a curiosity thing for me, the question being do they provide an escape in bbcode.

In reality I could just leave the brackets off, since they aren't needed unless there is a space in the field name. It just means that I can't cut and paste the sql the way it's generated by Access, instead I have to alter it. Again, I am just curious... I can figure out a work-around if needed.

Thanks!
Giacomo
 
This is more of a curiosity thing for me, the question being do they provide an escape in bbcode.
As far as I know, no. If BBcode is enabled on a post and there happens to be something that equals a tag, it will be read as a tag.
 

Forum statistics

Threads
1,221,618
Messages
6,160,873
Members
451,674
Latest member
TJPsmt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top