bbcodeizer 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +20 -0
  4. data/README +128 -0
  5. data/Rakefile +22 -0
  6. data/bbcodeizer.gemspec +23 -0
  7. data/init.rb +4 -0
  8. data/lib/bbcodeize_helper.rb +8 -0
  9. data/lib/bbcodeizer/version.rb +3 -0
  10. data/lib/bbcodeizer.rb +77 -0
  11. data/rdoc/BBCodeizeHelper.html +182 -0
  12. data/rdoc/Bbcodeizer.html +146 -0
  13. data/rdoc/README.html +214 -0
  14. data/rdoc/created.rid +5 -0
  15. data/rdoc/images/brick.png +0 -0
  16. data/rdoc/images/brick_link.png +0 -0
  17. data/rdoc/images/bug.png +0 -0
  18. data/rdoc/images/bullet_black.png +0 -0
  19. data/rdoc/images/bullet_toggle_minus.png +0 -0
  20. data/rdoc/images/bullet_toggle_plus.png +0 -0
  21. data/rdoc/images/date.png +0 -0
  22. data/rdoc/images/find.png +0 -0
  23. data/rdoc/images/loadingAnimation.gif +0 -0
  24. data/rdoc/images/macFFBgHack.png +0 -0
  25. data/rdoc/images/package.png +0 -0
  26. data/rdoc/images/page_green.png +0 -0
  27. data/rdoc/images/page_white_text.png +0 -0
  28. data/rdoc/images/page_white_width.png +0 -0
  29. data/rdoc/images/plugin.png +0 -0
  30. data/rdoc/images/ruby.png +0 -0
  31. data/rdoc/images/tag_green.png +0 -0
  32. data/rdoc/images/wrench.png +0 -0
  33. data/rdoc/images/wrench_orange.png +0 -0
  34. data/rdoc/images/zoom.png +0 -0
  35. data/rdoc/index.html +60 -0
  36. data/rdoc/js/darkfish.js +116 -0
  37. data/rdoc/js/jquery.js +32 -0
  38. data/rdoc/js/quicksearch.js +114 -0
  39. data/rdoc/js/thickbox-compressed.js +10 -0
  40. data/rdoc/lib/bbcodeize_helper_rb.html +54 -0
  41. data/rdoc/lib/bbcodeizer/version_rb.html +52 -0
  42. data/rdoc/lib/bbcodeizer_rb.html +52 -0
  43. data/rdoc/rdoc.css +763 -0
  44. data/test/bbcodeizer_test.rb +108 -0
  45. metadata +123 -0
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in bbcodeizer.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2006 Jonathan Dance / Agora Games
2
+ Copyright (c) 2011 Luke Curley
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a
5
+ copy of this software and associated documentation files (the "Software"),
6
+ to deal in the Software without restriction, including without limitation
7
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
+ and/or sell copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
+ DEALINGS IN THE SOFTWARE.
data/README ADDED
@@ -0,0 +1,128 @@
1
+ == BBCodeizer
2
+
3
+ BBCodeizer is a gem used to translate BBCode to HTML. The main interface
4
+ is provided through the helper method "bbcodeize." Use of it is as simple as
5
+ passing a string to bbcodeize:
6
+
7
+ <%= bbcodeize post.body %>
8
+
9
+ You can also invoke the BBCodeizer directly without the helper:
10
+
11
+ render :text => BBCodeizer.bbcodeize(post.body)
12
+
13
+ All settings are centralized so you can very quickly deactivate any tag or
14
+ modify the HTML that is generated. You can modify these settings by adding
15
+ lines to the end of your environment.rb. For example:
16
+
17
+ # deactivate [color], [size], and [code] tags
18
+ BBCodeizer.deactivate(:color, :size, :code)
19
+
20
+ # use <b> instead of <strong>
21
+ BBCodeizer.replace_using(:bold, '<b>\1</b>')
22
+
23
+ These changes should be considered one-time configuration, e.g. tags
24
+ cannot be deactivated then activated again.
25
+
26
+ == Warning
27
+
28
+ While BBCodeizer does some validation (see below), you should be aware it is
29
+ possible to create unsafe HTML in the wrong hands (for example, invoking
30
+ Javascript using the [url] tag). It is highly recommended you run the
31
+ resulting HTML through a sanity checker such as WhiteList:
32
+
33
+ http://svn.techno-weenie.net/projects/plugins/white_list/
34
+
35
+ Once installed, the following is a helper method that will produce nicely
36
+ formatted, safe HTML:
37
+
38
+ def format_text(text)
39
+ white_list(simple_format(auto_link(bbcodeize(h(text)))))
40
+ end
41
+
42
+ == Supported Tags
43
+
44
+ BBCodeizer currently supports the following tags. The default HTML expansion
45
+ is documented here.
46
+
47
+ [u]text[/u]
48
+
49
+ <u>text</u>
50
+
51
+ [b]text[/b]
52
+
53
+ <strong>text</strong>
54
+
55
+ [i]text[/i]
56
+
57
+ <em>text</em>
58
+
59
+ [img]http://example.com/image.gif[/img]
60
+
61
+ <img src="http://example.com/image.gif" />
62
+
63
+ [email=joe@example.com]Joe Example[/email]
64
+
65
+ <a href="mailto:joe@example.com">Joe Example</a>
66
+
67
+ [email]joe@example.com[/email]
68
+
69
+ <a href="mailto:joe@example.com">joe@example.com</a>
70
+
71
+ [code]bbcodeize(string)[/code]
72
+
73
+ <pre>bbcodeize(string)</pre>
74
+
75
+ [url=http://www.google.com]Google[/url]
76
+
77
+ <a href="http://www.google.com">Google</a>
78
+
79
+ [url]http://www.google.com[/url]
80
+
81
+ <a href="http://www.google.com">http://www.google.com</a>
82
+
83
+ [quote="Shakespeare"]To be or not to be[/quote]
84
+
85
+ <blockquote><cite>Shakespeare wrote:</cite><br />To be or not to
86
+ be</blockquote>
87
+
88
+ [quote]That is the question[/quote]
89
+
90
+ <blockquote>That is the question</blockquote>
91
+
92
+ [size=32]Big Text[/size]
93
+
94
+ <span style="font-size: 32px">Big Text</span>
95
+
96
+ [color=red]Red Text[/color] [color=#ABCDEF]Alphabet-colored Text[/color]
97
+
98
+ <span style="color: red">Red Text</span>
99
+ <span style="color: #ABCDEF">Alphabet Colored Text</span>
100
+
101
+ == Validation
102
+
103
+ BBCodeizer aims to produce HTML that will not break your site - all opening
104
+ tags must have a closing tag or they will not be replaced (unmatched tags are
105
+ left as-is). All [code] and [quote] tags are left entirely untouched if there
106
+ is any mismatch with either of these. All other tags will replace as many as
107
+ possible and leave the remaining unmatched tags as-is.
108
+
109
+ BBCodeizer attempts to produce XHTML-compliant markup, however, misuse of
110
+ nesting tags is not validated or corrected. For example:
111
+
112
+ [b]bold [u]bold + underline[/b] underline[/u]
113
+
114
+ Will produce the following HTML:
115
+
116
+ <strong>bold <u>bold + underline</strong> underline</u>
117
+
118
+ Colors in the [color] tag are not validated - any string can be used. Strings
119
+ containing semicolons are not allowed to prevent users from adding additional
120
+ style rules.
121
+
122
+ Sizes used in the [size] tag are validated - only 1 or 2 digit numbers are
123
+ accepted.
124
+
125
+ -----------------
126
+ Copyright (c) 2006 Jonathan Dance / Agora Games
127
+ Copyright (c) 2011 Luke Curley
128
+ Distributed under the MIT license
data/Rakefile ADDED
@@ -0,0 +1,22 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ desc 'Default: run unit tests.'
6
+ task :default => :test
7
+
8
+ desc 'Test the BBCodeizer plugin.'
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << 'lib'
11
+ t.pattern = 'test/**/*_test.rb'
12
+ t.verbose = true
13
+ end
14
+
15
+ desc 'Generate documentation for the BBCodeizer plugin.'
16
+ Rake::RDocTask.new(:rdoc) do |rdoc|
17
+ rdoc.rdoc_dir = 'rdoc'
18
+ rdoc.title = 'BBCodeizer'
19
+ rdoc.options << '--line-numbers' << '--inline-source'
20
+ rdoc.rdoc_files.include('README')
21
+ rdoc.rdoc_files.include('lib/**/*.rb')
22
+ end
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "bbcodeizer/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "bbcodeizer"
7
+ s.version = Bbcodeizer::VERSION
8
+ s.authors = ["Jonathan Dance", "Luke Curley"]
9
+ s.email = ["jd+bbcodeizer@wuputah.com", "luke@box.net"]
10
+ s.homepage = "https://github.com/qpingu/bbcodeizer"
11
+ s.summary = %q{BBCodeizer is a simple gem that translates BBCode to HTML}
12
+
13
+ s.rubyforge_project = "bbcodeizer"
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.require_paths = ["lib"]
19
+
20
+ # specify any dependencies here; for example:
21
+ s.add_development_dependency "rake"
22
+ s.add_development_dependency "rdoc"
23
+ end
data/init.rb ADDED
@@ -0,0 +1,4 @@
1
+ require 'bbcodeizer'
2
+ require 'bbcodeize_helper'
3
+
4
+ ActionView::Base.send :include, BBCodeizeHelper
@@ -0,0 +1,8 @@
1
+ require 'bbcodeizer'
2
+
3
+ module BBCodeizeHelper
4
+ # Parses all bbcode in +text+ and returns a new HTML-formatted string.
5
+ def bbcodeize(text)
6
+ BBCodeizer.bbcodeize(text)
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ module Bbcodeizer
2
+ VERSION = "0.0.1"
3
+ end
data/lib/bbcodeizer.rb ADDED
@@ -0,0 +1,77 @@
1
+ module BBCodeizer
2
+ class << self
3
+
4
+ #:nodoc:
5
+ Tags = {
6
+ :start_code => [ /\[code\]/i, '<pre>' ],
7
+ :end_code => [ /\[\/code\]/i, '</pre>' ],
8
+ :start_quote => [ /\[quote(?:=".*?")?\]/i, nil ],
9
+ :start_quote_with_cite => [ /\[quote="(.*?)"\]/i, '<blockquote><cite>\1 wrote:</cite><br />' ],
10
+ :start_quote_sans_cite => [ /\[quote\]/i, '<blockquote>' ],
11
+ :end_quote => [ /\[\/quote\]/i, '</blockquote>' ],
12
+ :bold => [ /\[b\](.+?)\[\/b\]/i, '<strong>\1</strong>' ],
13
+ :italic => [ /\[i\](.+?)\[\/i\]/i, '<em>\1</em>' ],
14
+ :underline => [ /\[u\](.+?)\[\/u\]/i, '<u>\1</u>' ],
15
+ :email_with_name => [ /\[email=(.+?)\](.+?)\[\/email\]/i, '<a href="mailto:\1">\2</a>' ],
16
+ :email_sans_name => [ /\[email\](.+?)\[\/email\]/i, '<a href="mailto:\1">\1</a>' ],
17
+ :url_with_title => [ /\[url=(.+?)\](.+?)\[\/url\]/i, '<a href="\1">\2</a>' ],
18
+ :url_sans_title => [ /\[url\](.+?)\[\/url\]/i, '<a href="\1">\1</a>' ],
19
+ :image => [ /\[img\](.+?)\[\/img\]/i, '<img src="\1" />' ],
20
+ :size => [ /\[size=(\d{1,2})\](.+?)\[\/size\]/i, '<span style="font-size: \1px">\2</span>' ],
21
+ :color => [ /\[color=([^;]+?)\](.+?)\[\/color\]/i, '<span style="color: \1">\2</span>' ]
22
+ }
23
+
24
+ # Tags in this list are invoked. To deactivate a particular tag, call BBCodeizer.deactivate.
25
+ # These names correspond to either names above or methods in this module.
26
+ TagList = [ :bold, :italic, :underline, :email_with_name, :email_sans_name,
27
+ :url_with_title, :url_sans_title, :image, :size, :color,
28
+ :code, :quote ]
29
+
30
+ # Parses all bbcode in +text+ and returns a new HTML-formatted string.
31
+ def bbcodeize(text)
32
+ text = text.dup
33
+ TagList.each do |tag|
34
+ if Tags.has_key?(tag)
35
+ apply_tag(text, tag)
36
+ else
37
+ self.send(tag, text)
38
+ end
39
+ end
40
+ text
41
+ end
42
+
43
+ # Configuration option to deactivate particular +tags+.
44
+ def deactivate(*tags)
45
+ tags.each { |t| TagList.delete(t) }
46
+ end
47
+
48
+ # Configuration option to change the replacement string used for a particular +tag+. The source
49
+ # code should be referenced to determine what an appropriate replacement +string+ would be.
50
+ def replace_using(tag, string)
51
+ Tags[tag][1] = string
52
+ end
53
+
54
+ private
55
+
56
+ def code(string)
57
+ # code tags must match, else don't do any replacing.
58
+ if string.scan(Tags[:start_code].first).size == string.scan(Tags[:end_code].first).size
59
+ apply_tags(string, :start_code, :end_code)
60
+ end
61
+ end
62
+
63
+ def quote(string)
64
+ # quotes must match, else don't do any replacing
65
+ if string.scan(Tags[:start_quote].first).size == string.scan(Tags[:end_quote].first).size
66
+ apply_tags(string, :start_quote_with_cite, :start_quote_sans_cite, :end_quote)
67
+ end
68
+ end
69
+
70
+ def apply_tags(string, *tags)
71
+ tags.each do |tag|
72
+ string.gsub!(*Tags[tag])
73
+ end
74
+ end
75
+ alias_method :apply_tag, :apply_tags
76
+ end
77
+ end
@@ -0,0 +1,182 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: BBCodeizeHelper</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="module">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/bbcodeize_helper_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/bbcodeize_helper.rb">lib/bbcodeize_helper.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+ <!-- Method Quickref -->
56
+ <div id="method-list-section" class="section">
57
+ <h3 class="section-header">Methods</h3>
58
+ <ul class="link-list">
59
+
60
+ <li><a href="#method-i-bbcodeize">#bbcodeize</a></li>
61
+
62
+ </ul>
63
+ </div>
64
+
65
+
66
+
67
+ </div>
68
+
69
+ <div id="project-metadata">
70
+
71
+
72
+ <div id="fileindex-section" class="section project-section">
73
+ <h3 class="section-header">Files</h3>
74
+ <ul>
75
+
76
+ <li class="file"><a href="./README.html">README</a></li>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+
82
+ <div id="classindex-section" class="section project-section">
83
+ <h3 class="section-header">Class/Module Index
84
+ <span class="search-toggle"><img src="./images/find.png"
85
+ height="16" width="16" alt="[+]"
86
+ title="show/hide quicksearch" /></span></h3>
87
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
88
+ <fieldset>
89
+ <legend>Quicksearch</legend>
90
+ <input type="text" name="quicksearch" value=""
91
+ class="quicksearch-field" />
92
+ </fieldset>
93
+ </form>
94
+
95
+ <ul class="link-list">
96
+
97
+ <li><a href="./BBCodeizeHelper.html">BBCodeizeHelper</a></li>
98
+
99
+ <li><a href="./Bbcodeizer.html">Bbcodeizer</a></li>
100
+
101
+ </ul>
102
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
103
+ </div>
104
+
105
+
106
+ </div>
107
+ </div>
108
+
109
+ <div id="documentation">
110
+ <h1 class="module">BBCodeizeHelper</h1>
111
+
112
+ <div id="description" class="description">
113
+
114
+ </div><!-- description -->
115
+
116
+
117
+
118
+
119
+ <div id="5Buntitled-5D" class="documentation-section">
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ <!-- Methods -->
129
+
130
+ <div id="public-instance-method-details" class="method-section section">
131
+ <h3 class="section-header">Public Instance Methods</h3>
132
+
133
+
134
+ <div id="bbcodeize-method" class="method-detail ">
135
+ <a name="method-i-bbcodeize"></a>
136
+
137
+
138
+ <div class="method-heading">
139
+ <span class="method-name">bbcodeize</span><span
140
+ class="method-args">(text)</span>
141
+ <span class="method-click-advice">click to toggle source</span>
142
+ </div>
143
+
144
+
145
+ <div class="method-description">
146
+
147
+ <p>Parses all bbcode in <tt>text</tt> and returns a new HTML-formatted string.</p>
148
+
149
+
150
+
151
+ <div class="method-source-code" id="bbcodeize-source">
152
+ <pre>
153
+ <span class="ruby-comment"># File lib/bbcodeize_helper.rb, line 5</span>
154
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">bbcodeize</span>(<span class="ruby-identifier">text</span>)
155
+ <span class="ruby-constant">BBCodeizer</span>.<span class="ruby-identifier">bbcodeize</span>(<span class="ruby-identifier">text</span>)
156
+ <span class="ruby-keyword">end</span></pre>
157
+ </div><!-- bbcodeize-source -->
158
+
159
+ </div>
160
+
161
+
162
+
163
+
164
+ </div><!-- bbcodeize-method -->
165
+
166
+
167
+ </div><!-- public-instance-method-details -->
168
+
169
+ </div><!-- 5Buntitled-5D -->
170
+
171
+
172
+ </div><!-- documentation -->
173
+
174
+ <div id="validator-badges">
175
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
176
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
177
+ Rdoc Generator</a> 2</small>.</p>
178
+ </div>
179
+
180
+ </body>
181
+ </html>
182
+
@@ -0,0 +1,146 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: Bbcodeizer</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="module">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/bbcodeizer/version_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/bbcodeizer/version.rb">lib/bbcodeizer/version.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+ </div>
58
+
59
+ <div id="project-metadata">
60
+
61
+
62
+ <div id="fileindex-section" class="section project-section">
63
+ <h3 class="section-header">Files</h3>
64
+ <ul>
65
+
66
+ <li class="file"><a href="./README.html">README</a></li>
67
+
68
+ </ul>
69
+ </div>
70
+
71
+
72
+ <div id="classindex-section" class="section project-section">
73
+ <h3 class="section-header">Class/Module Index
74
+ <span class="search-toggle"><img src="./images/find.png"
75
+ height="16" width="16" alt="[+]"
76
+ title="show/hide quicksearch" /></span></h3>
77
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
78
+ <fieldset>
79
+ <legend>Quicksearch</legend>
80
+ <input type="text" name="quicksearch" value=""
81
+ class="quicksearch-field" />
82
+ </fieldset>
83
+ </form>
84
+
85
+ <ul class="link-list">
86
+
87
+ <li><a href="./BBCodeizeHelper.html">BBCodeizeHelper</a></li>
88
+
89
+ <li><a href="./Bbcodeizer.html">Bbcodeizer</a></li>
90
+
91
+ </ul>
92
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
93
+ </div>
94
+
95
+
96
+ </div>
97
+ </div>
98
+
99
+ <div id="documentation">
100
+ <h1 class="module">Bbcodeizer</h1>
101
+
102
+ <div id="description" class="description">
103
+
104
+ </div><!-- description -->
105
+
106
+
107
+
108
+
109
+ <div id="5Buntitled-5D" class="documentation-section">
110
+
111
+
112
+
113
+
114
+
115
+ <!-- Constants -->
116
+ <div id="constants-list" class="section">
117
+ <h3 class="section-header">Constants</h3>
118
+ <dl>
119
+
120
+ <dt><a name="VERSION">VERSION</a></dt>
121
+
122
+ <dd class="description"></dd>
123
+
124
+
125
+ </dl>
126
+ </div>
127
+
128
+
129
+
130
+
131
+ <!-- Methods -->
132
+
133
+ </div><!-- 5Buntitled-5D -->
134
+
135
+
136
+ </div><!-- documentation -->
137
+
138
+ <div id="validator-badges">
139
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
140
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
141
+ Rdoc Generator</a> 2</small>.</p>
142
+ </div>
143
+
144
+ </body>
145
+ </html>
146
+