Out of the box BBCODE previewer
1
Name:
Anonymous
2007-08-22 15:16
ID:vcaQ4G0C
http://pastebin.ca/667158
Uses the same parser as Shiichan, though 4chan's copy of the parser has been considerably customised.
Enjoy your 1000+ lines.
2
Name:
Anonymous
2007-08-22 16:20
ID:Heaven
PHP (sage).
Write it in BBCode and I'll take a look.
3
Name:
Anonymous
2007-08-22 16:22
ID:LYN+wxfq
By the way, is this the one that is vulnerable to HTML injection through the bytes 1, 2, and 3?
4
Name:
Anonymous
2007-08-22 16:30
ID:vcaQ4G0C
>>3
Why would I give a shit?
5
Name:
Anonymous
2007-08-22 16:35
ID:Heaven
>>4
Because I loved being able to post images and put in fun flash music from /b/ ;)
Ahh, the good old times when BBCode was like the wild west.
6
Name:
Anonymous
2007-08-22 16:59
ID:vcaQ4G0C
>>5
I loves flash musics.
7
Name:
Anonymous
2007-08-23 4:25
ID:V9g87FYg
BBFLAGS=-O3 -march=shiichan -munsafe-byte-hacks -funroll-sups
8
Name:
Anonymous
2007-08-23 4:30
ID:L30KzcNS
:motz:
9
Name:
Anonymous
2007-08-23 7:13
ID:xZKf8sUb
**bold** ?
10
Name:
Anonymous
2007-08-23 7:15
ID:xZKf8sUb
11
Name:
Anonymous
2007-08-23 7:16
ID:xZKf8sUb
test
>> test
| test
|| test
12
Name:
Anonymous
2007-08-23 7:24
ID:Heaven
13
Name:
Anonymous
2007-08-23 7:26
ID:xZKf8sUb
what the bold is going on hmm?
hmmmmmmmmmmmmmmmmmmmmmmmmmmM?
14
Name:
Anonymous
2007-08-23 8:13
ID:LK2oFLBf
>>7
BBFLAGS=-O3 -march=firefox3 -std=shiichan -munsafe-byte-hacks -funroll-sups -malign-cancer
15
Name:
Anonymous
2007-08-23 8:17
ID:nLXVHU0T
> > > > > > > > lol
16
Name:
Anonymous
2007-08-23 9:09
ID:Heaven
test
17
Name:
Anonymous
2007-08-23 9:09
ID:Heaven
Nested quoting could actually look decent if they hadn't messed it up with FORCED PADDING-BOTTOM.
18
Name:
Anonymous
2007-08-23 9:09
ID:Heaven
19
Name:
Anonymous
2007-08-23 9:10
ID:Heaven
20
Name:
Anonymous
2007-08-23 9:10
ID:Heaven
Oh shit, you fixed it. HIVEMIND
21
Name:
Anonymous
2007-08-23 9:13
ID:Heaven
No wait, even with br you can't make this look better:
penis penis
penis
22
Name:
Anonymous
2007-08-23 9:30
ID:xZKf8sUb
> > > > > > > yeah
23
Name:
Anonymous
2007-08-23 9:31
ID:xZKf8sUb
24
Name:
Anonymous
2007-08-23 9:32
ID:xZKf8sUb
testtest test
25
Name:
Anonymous
2007-08-23 9:33
ID:xZKf8sUb
testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
26
Name:
Anonymous
2007-08-23 9:34
ID:xZKf8sUb
[br parameters]
27
Name:
Anonymous
2007-08-23 9:47
ID:80LM8wqv
>>> YEAH
28
Name:
Anonymous
2007-08-23 9:47
ID:Heaven
>
29
Name:
Anonymous
2007-08-23 10:02
ID:Heaven
\> \> \> test
30
Name:
Anonymous
2007-08-23 10:02
ID:Heaven
[rem] > > > test
31
Name:
Anonymous
2012-04-17 5:46
back to /b/ please
32
Name:
Anonymous
2012-04-17 5:51
code quality is horrible, looks like it was built by php amateur, would not feel safe putting that on my site
33
Name:
Anonymous
2012-04-17 8:37
check mah dubles
34
Name:
Anonymous
2012-04-17 10:15
>>32
That's Shii
t chan for you.
35
Name:
Anonymous
2012-04-17 20:47
I made one on my home page
! http://progretard.comuf.com/shit.php
much loves /prog/ <3<3<3
~Shii
36
Name:
Anonymous
2012-04-17 21:04
Doesn't work when I try to do things like:
this code is shit!
This is clear proof that OP's parser is not the same and he is an even shittier coder than Shii.
37
Name:
Anonymous
2012-04-18 0:27
I miss the live "IDE".
38
Name:
Anonymous
2012-04-18 18:42
>>36
Isn't yours posted in near full code form here already?
39
Name:
Anonymous
2012-04-18 19:05
>>38
My what? The C
# code for making that stupid ramped spoiler? Not the one I wrote, but I bet someone has made one before, as it isn't exactly hard. Even if they did, it's can't be so different that the OP's 5 year old code would parse it correctly but parse mine incorrectly.
40
Name:
Anonymous
2012-04-18 22:23
>>39
Ok I have you confused with someone else who was working on a bbcode parser.