The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
HTML Brain Teaser
I recently enabled HTML in posts on my forum, but only for members of the "Can use HTML" group. (Thanks to this handy hack.)
And one of my users immediately found a little bug. By putting: HTML Code:
<!-- HTML Code:
<!-- comment --> <!-- --> <!----> --> Can you think of a solution to this? (Besides disabling HTML ) |
#2
|
|||
|
|||
a) disable html.
b) only allow members that will not #$%# up your board to use html. c) when b fails, refer to a. |
#3
|
||||
|
||||
Quote:
Disabling it is not an option! Quote:
Quote:
|
#4
|
||||
|
||||
Adding <!-- to the swear censor might work - I haven't tested it.
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
I am sorry I do not know a 100% fix. And you will run into more problems then just the <!--.
What you need to do is create bb code to allow certain html tags to be used. |
#7
|
||||
|
||||
The whole idea of not allowing HTML is to prevent precisely what you have had happen.
There's no way around it. If you allow it, you have to limit it..and that defeats the purpose of allowing it. |
#8
|
||||
|
||||
Quote:
Quote:
I have to say... I've seen all the discussion around here and at vb.com over the years about how nobody should ever enable HTML under any circumstance ever ever ever, and it really makes me wonder why Jelsoft hasn't just removed the functionality from vBulletin. But even if they did, I'd find a way to hack it back in. |
#9
|
|||
|
|||
could you somehow put --> somewhere. that way they would cancel each other out?
|
#10
|
||||
|
||||
Quote:
ETA: Well I'll be damned. That seems to work! Oops, no it doesn't. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|