View Full Version : How do you stop the FAQ from parsing HTML???
Brinnie
09-12-2005, 05:27 PM
So I'm trying to put a code example in my FAQ, but it automatically parses my text entered for the description!
How in the world do I stop it?
Thanks,
Brinnie
Quillz
09-12-2005, 05:40 PM
I think you can do something like <b<b>>bold</b</b>> or something.
Brinnie
09-12-2005, 06:22 PM
Nope.
Marco van Herwaarden
09-13-2005, 03:40 AM
[ noparse] maybe?
Brinnie
09-13-2005, 08:01 AM
[ noparse] maybe?
It doesn't listen to BBCode. :(
Boofo
09-13-2005, 08:27 AM
It doesn't listen to BBCode. :(
Brinnie, try without the beginning space.
[noparse]Some bbcode stuff here
Brinnie
09-13-2005, 10:17 AM
Brinnie, try without the beginning space.
[noparse]Some bbcode stuff here
I did that, but I don't think the FAQ parses BBCode like anouncements and stuff do. Just HTML.
Boofo
09-13-2005, 10:38 AM
ok, I see what Marco meant now. What you need to do is add a space before the code like he did:
[ b]
That will disable it although there will be a space in it. Can you use quote tags in there maybe and put the code in that?
Quillz
09-13-2005, 01:41 PM
Try [noubbc]
Biker_GA
09-13-2005, 02:31 PM
I was looking at this and wondered how they did it for the bbcode examples. What I discovered was it isn't located in the FAQ. What they've done is call from misc.php.
'bbcode' => array(
'help_bbcodes',
'help_bbcodes_bbcode',
'help_bbcodes_link',
'bbcode_code',
'bbcode_html',
'bbcode_php',
'bbcode_quote',
),
I think you'll have to do something similar in order to display raw html within the FAQ.
Zachery
09-14-2005, 12:27 AM
um.. don't use html? use the proper ascii characters to represent the html code you want to display.
Princeton
09-14-2005, 09:41 PM
post your text
Brinnie
09-15-2005, 10:48 PM
The FAQ parses HTML.
It doesn't parse BBCode.
So using a BBCode to stop parsing HTML is impossible. Because It doesn't Parse BBCode!!! :mad:
Brinnie
09-19-2005, 04:53 AM
Bump. :)
Marco van Herwaarden
09-19-2005, 09:13 AM
See answer by princeton.
Zachery
09-19-2005, 09:33 AM
> < Should end up parsing as < and > (might have goten that backwords)
>html< should parse as <html>
Princeton
09-19-2005, 11:06 AM
yep it's backward
<html>
lt = less than
gt = greater than
Zachery
09-19-2005, 12:57 PM
yep it's backward
<html>
lt = less than
gt = greater than
Bah I haven't slept in hours, besides she'd figure it out when it got parsed :D
How can I enable the FAQ to support bbcode and everything the Forums do?
Or does this pose a threat to the security in any way.
akanevsky
10-10-2005, 01:46 PM
<a href="http://www.onlinetools.org/tools/htmlizerdata/" target="_blank">http://www.onlinetools.org/tools/htmlizerdata/</a>
Use that, then post the resulting code into your FAQ.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.