Verification sheet for the BBCode parser replacement
Posted 13 years agoThis journal is a test for the new BBCode parser I am working on. It is not ready yet.
The codes for the current parser of FA can be found on my previous journal: http://www.furaffinity.net/journal/441426/
The parser is based off pecl_bbcode PHP extension. The goal is to write a proper replacement to the current BBCode and URL parser, which currently is just a collection of regular expressions that process the text before displaying it.
To those viewing this journal on FA it would likely appear to be horribly broken. The actual replacement parser is being implemented on a closed sandbox; that's where the page would look normal.
Initially only the subset of BBCode tags that already exist on FA are going to be (re)implemented, but you are welcomed to new tags in the comments; things like [code][list][/code]s and [code][video][/code] and so on.
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]striked out text[/code]: striked out text
[code]Text supscripted[/code]: Text supscripted
[code]Text subscripted[sub][/code]: Text [sub]subscripted
[code]red text[/code]: red text
[code]
[code]
[code]
[code]
[code][size=1]size 1 text[/size][/code]: [size=1]size 1 text[/size]
[code][size=2]size 2 text[/size][/code]: [size=2]size 2 text[/size]
[code][size=3]size 3 text[/size][/code]: [size=3]size 3 text[/size]
[code][size=4]size 4 text[/size][/code]: [size=4]size 4 text[/size]
[code][size=5]size 5 text[/size][/code]: [size=5]size 5 text[/size]
[code]
[list=1]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=1]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=01]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=01]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=a]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=a]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=A]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=A]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=i]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=i]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=I]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=I]
[*]list item 1
[*]list item 2
[/list]
[code][progress=75]description[/progress][/code]: [progress=75]description[/progress]
[code][hr][/code]: [hr]
[code][divider][/code]: [divider]
[code]'Sup™[/code]: 'Sup™
[code]Spam®[/code]: Spam®
[code]single line, un-named quote[/code]: single line, un-named quote
[code]multi line,
un-named quote[/code]: multi line,
un-named quote
[code]yak wrote:single line, named quote[/code]: yak wrote:single line, un-named quote
[code]yak wrote:multi line,
named quote[/code]: yak wrote:multi line,
named quote
[code]yak wrote:multi line, named quote with bbcode content:
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]striked out text[/code]: striked out text[/code]: yak wrote:multi line, named quote with bbcode content:
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]striked out text[/code]: striked out text
[code]this is [quote]an example ofa series of [quote]nested quotes[/quote][/quote][/code]: this is [quote]an example ofa series of [quote]nested quotes[/quote][/quote]
[code]http://www.furaffinity.net[/code]: http://www.furaffinity.net
[code]www.furaffinity.net[/code]: www.furaffinity.net
[code]https://www.furaffinity.net/trac/tr.....cket/1[/code]: https://www.furaffinity.net/trac/trunk/ticket/1
[code]http://furaffinity.net?a=b&c=d[/code]: http://furaffinity.net?a=b&c=d
[code]some@email.com[/code]: some[at]email.com
[code]yak's page[/code]: yak's page
[code]yak's page as a relative URL[/code]: yak's page as a relative URL
[code][video]http://www.youtube.com/watch?v=p8t4.....video][/code]: [video]http://www.youtube.com/watch?v=p8t41avFuCc[/video]
[code][video]http://vimeo.com/8623092[/video][/code]: [video]http://vimeo.com/8623092[/video]
[code]
yak[/code]:
yak
[code]
[/code]: 
[code]yak[/code]: yak
[code][369022, 98655, 375898][/code]: [369022, 98655, 375898]
The codes for the current parser of FA can be found on my previous journal: http://www.furaffinity.net/journal/441426/
BBCode verification sheet
This journal is going to be used as a verification sheet for a replacement BBCode parser currently in development.The parser is based off pecl_bbcode PHP extension. The goal is to write a proper replacement to the current BBCode and URL parser, which currently is just a collection of regular expressions that process the text before displaying it.
To those viewing this journal on FA it would likely appear to be horribly broken. The actual replacement parser is being implemented on a closed sandbox; that's where the page would look normal.
Initially only the subset of BBCode tags that already exist on FA are going to be (re)implemented, but you are welcomed to new tags in the comments; things like [code][list][/code]s and [code][video][/code] and so on.
Basic formatting
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]
[code]Text supscripted[/code]: Text supscripted
[code]Text subscripted[sub][/code]: Text [sub]subscripted
[code]red text[/code]: red text
[code]
Left aligned text
[/code]: Left aligned text
[code]
Centered text
[/code]: Centered text
[code]
Right aligned text
[/code]: Right aligned text
Text sizing
[code]
H1 headline
[/code]:H1 headline
[code]H2 headline
[/code]:H2 headline
[code]H3 headline
[/code]:H3 headline
[code]H4 headline
[/code]:H4 headline
[code]H5 headline
[/code]:H5 headline
[code][size=1]size 1 text[/size][/code]: [size=1]size 1 text[/size]
[code][size=2]size 2 text[/size][/code]: [size=2]size 2 text[/size]
[code][size=3]size 3 text[/size][/code]: [size=3]size 3 text[/size]
[code][size=4]size 4 text[/size][/code]: [size=4]size 4 text[/size]
[code][size=5]size 5 text[/size][/code]: [size=5]size 5 text[/size]
Lists
[code]
[list=1]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=1]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=01]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=01]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=a]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=a]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=A]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=A]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=i]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=i]
[*]list item 1
[*]list item 2
[/list]
[code]
[list=I]
[*]list item 1
[*]list item 2
[/list]
[/code]:
[list=I]
[*]list item 1
[*]list item 2
[/list]
[code][progress=75]description[/progress][/code]: [progress=75]description[/progress]
[code][hr][/code]: [hr]
[code][divider][/code]: [divider]
Smilies
[code]All your base are belong to us©[/code]: All your base are belong to us©[code]'Sup™[/code]: 'Sup™
[code]Spam®[/code]: Spam®
Quotations
[code]single line, un-named quote[/code]: single line, un-named quote
[code]multi line,
un-named quote[/code]: multi line,
un-named quote
[code]yak wrote:single line, named quote[/code]: yak wrote:single line, un-named quote
[code]yak wrote:multi line,
named quote[/code]: yak wrote:multi line,
named quote
[code]yak wrote:multi line, named quote with bbcode content:
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]
[code]bold text[/code]: bold text
[code]italic text[/code]: italic text
[code]underlined text[/code]: underlined text
[code]
[code]this is [quote]an example ofa series of [quote]nested quotes[/quote][/quote][/code]: this is [quote]an example ofa series of [quote]nested quotes[/quote][/quote]
URLs and links
[code]http://www.furaffinity.net[/code]: http://www.furaffinity.net
[code]www.furaffinity.net[/code]: www.furaffinity.net
[code]https://www.furaffinity.net/trac/tr.....cket/1[/code]: https://www.furaffinity.net/trac/trunk/ticket/1
[code]http://furaffinity.net?a=b&c=d[/code]: http://furaffinity.net?a=b&c=d
[code]some@email.com[/code]: some[at]email.com
[code]yak's page[/code]: yak's page
[code]yak's page as a relative URL[/code]: yak's page as a relative URL
Embeddable videos
[code][video]http://www.youtube.com/watch?v=p8t4.....video][/code]: [video]http://www.youtube.com/watch?v=p8t41avFuCc[/video]
[code][video]http://vimeo.com/8623092[/video][/code]: [video]http://vimeo.com/8623092[/video]
Site-specific features
[code]


[code]


[code]yak[/code]: yak
[code][369022, 98655, 375898][/code]: [369022, 98655, 375898]