gv-RedCloth 4.2.9 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: af98f61187688d97a3840aaa0ebb44d9919f3017
4
+ data.tar.gz: 4050923057e5f93ec50121597666bf305d9faa37
5
+ SHA512:
6
+ metadata.gz: d2ddc72fd7a83c50cde1eb103415c198dd1c9359408ba78524965288deeaa60b28123aab9ca3dad7e6317059a192e4f29c14c85eced34b09796b6649ee2268e0
7
+ data.tar.gz: 9fa90a7d2cec1506bf0f9a18c7b8091ef3fe7ca17f10ebd31f7e6386e7bd9ed200adbe2a8150898044ad1cd2760edf0cf24253b796c1ca8c86cab3b9b97d4cf6
data/CHANGELOG CHANGED
@@ -1,3 +1,26 @@
1
+ == 4.3.2 / May 23rd, 2016
2
+
3
+ * Fix additional case for CVE-2012-6684 [Joshua Siler]
4
+
5
+ == 4.3.1 / May 17th, 2016
6
+
7
+ * Fix additional case for CVE-2012-6684 [Joshua Siler]
8
+
9
+ == 4.3.0 / April 29th, 2016
10
+
11
+ * Remove JRuby and Windows cross compilation and support
12
+ * Add Ruby 2.2.3 testing and support
13
+
14
+ * include CVE-2012-6684 fix [Tomas Pospisek]
15
+ * fix by [Antonio Terceiro]
16
+ * see http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
17
+ * vulnerability reported by [Kousuke Ebihara]
18
+ * see http://co3k.org/blog/redcloth-unfixed-xss-en
19
+
20
+ == 4.2.9.1 / February 24, 2015
21
+
22
+ * Lazy-load latex_entities.yml [Charlie Somerville]
23
+
1
24
  == 4.2.9 / November 25, 2011
2
25
 
3
26
  * Fix RbConfig / Config warning in Ruby 1.9.3. [Steve Purcell, Robert Gleeson, and unclaimedbaggage]
@@ -82,7 +105,7 @@
82
105
  * Accept multiline content in table cells. [Jason Garber]
83
106
 
84
107
  * Change to list attributes so you can give style/class to list items (taken from PyTextile). Breaks backwards compatibility.
85
-
108
+
86
109
  Before, the style applied to the first list item applied to the entire list. Now, class/id/style placed
87
110
  before the list applies to the list element and after the hash or asterisk applies to the list item. For
88
111
  example:
@@ -163,7 +186,7 @@
163
186
  To compile the jruby version of the gem: jruby -S rake compile
164
187
 
165
188
  * Added textilize ERB utility method. [edraut]
166
- Use it in an ERB template like this: <%=t my_textile_string %> or
189
+ Use it in an ERB template like this: <%=t my_textile_string %> or
167
190
  <%=r %{Some *textile* if you please!} %>
168
191
 
169
192
  * Fix extended blockcode stripping whitespace following blank line. #78
data/README.rdoc CHANGED
@@ -1,59 +1,49 @@
1
1
  = RedCloth - Textile parser for Ruby
2
2
 
3
3
  Homepage:: http://redcloth.org
4
+ Maintainer:: Joshua Siler https://github.com/joshuasiler
4
5
  Author:: Jason Garber
5
6
  Copyright:: (c) 2011 Jason Garber
6
7
  License:: MIT
7
8
 
9
+ {<img src="https://travis-ci.org/jgarber/redcloth.svg" />}[https://travis-ci.org/jgarber/redcloth] {<img src="https://codeclimate.com/github/jgarber/redcloth/badges/gpa.svg" />}[https://codeclimate.com/github/jgarber/redcloth]
10
+
8
11
  (See http://redcloth.org/textile/ for a Textile reference.)
9
12
 
10
13
  = RedCloth
11
14
 
12
15
  RedCloth is a Ruby library for converting Textile into HTML.
13
16
 
17
+ == Attention - Deprecating JRuby and Windows support in version 4.3
18
+
19
+ In order to prioritize merging a fix for the long standing vulnerability *CVE-2012-6684*, our {new maintainer}[https://github.com/joshuasiler] has elected to stop maintaining the precompiled versions for Windows and JRuby.
20
+
14
21
  == Installing
15
22
 
16
23
  RedCloth can be installed via RubyGems:
17
24
 
18
25
  gem install RedCloth
19
26
 
20
- It will install the appropriate Ruby, JRuby, or Win32 gem. If using JRuby,
21
- version 1.1.5 or greater is required.
22
-
23
27
  == Compiling
24
28
 
25
29
  If you just want to use RedCloth, you do NOT need to build/compile it. It is
26
30
  compiled from C sources automatically when you install the gem on the ruby
27
- platform. Precompiled binary gems are provided for JRuby and Win32 platforms.
31
+ platform. Precompiled binary gems are provided for JRuby and Win32 platforms prior to version 4.3.
28
32
 
29
33
  RedCloth can be compiled with <tt>rake compile</tt>. Ragel 6.3 or greater is
30
34
  required. Again, Ragel is NOT needed to simply use RedCloth.
31
35
 
32
36
  === Supported platforms
33
37
 
34
- By default, the rake compile task builds a native C extension (MRI 1.8 or 1.9)
35
- or Java extension (JRuby 1.3). A pure Ruby version can also be generated, but
36
- it's super slow and Ruby 1.8-only. The JRuby and pure-Ruby extensions don't
37
- support multi-byte characters. Cross-compiling for win32 uses rake-compiler.
38
+ By default, the rake compile task builds a native C extension (MRI 1.8 or 1.9). A pure Ruby version can also be generated, but it's super slow and Ruby 1.8-only, and doesn't
39
+ support multi-byte characters.
38
40
 
39
41
  The RedCloth::EXTENSION_LANGUAGE constant indicates in which language your
40
42
  copy of RedCloth is compiled.
41
43
 
42
- === Compiling gems
43
-
44
- To compile MRI, JRuby, and win32 gems, you need rvm and rake-compiler. These
45
- and other dependencies can be installed with bundler. Then rake build:all
46
- takes care of compiling and packaging all gems.
47
-
48
- 1. gem install bundler
49
- 2. bundle install
50
- 3. rake-compiler cross-ruby VERSION=1.8.6-p398
51
- 4. rake-compiler cross-ruby VERSION=1.9.1-p243
52
- 5. rake build:all
53
-
54
44
  == Bugs
55
45
 
56
- Please submit bugs to http://jgarber.lighthouseapp.com/projects/13054-redcloth/overview
46
+ Please submit bugs as issues to this repo.
57
47
 
58
48
  == Using RedCloth
59
49
 
@@ -69,7 +59,7 @@ Multi-line example:
69
59
 
70
60
  doc = RedCloth.new <<EOD
71
61
  h2. Test document
72
-
62
+
73
63
  Just a simple test.
74
64
  EOD
75
65
  puts doc.to_html
@@ -122,11 +112,11 @@ of small portions of text within a paragraph.
122
112
 
123
113
  == Links
124
114
 
125
- To make a hypertext link, put the link text in "quotation
115
+ To make a hypertext link, put the link text in "quotation
126
116
  marks" followed immediately by a colon and the URL of the link.
127
117
 
128
- Optional: text in (parentheses) following the link text,
129
- but before the closing quotation mark, will become a title
118
+ Optional: text in (parentheses) following the link text,
119
+ but before the closing quotation mark, will become a title
130
120
  attribute for the link, visible as a tool tip when a cursor is above it.
131
121
 
132
122
  Example:
@@ -141,12 +131,12 @@ Will become:
141
131
 
142
132
  To insert an image, put the URL for the image inside exclamation marks.
143
133
 
144
- Optional: text that immediately follows the URL in (parentheses) will
145
- be used as the Alt text for the image. Images on the web should always
146
- have descriptive Alt text for the benefit of readers using non-graphical
134
+ Optional: text that immediately follows the URL in (parentheses) will
135
+ be used as the Alt text for the image. Images on the web should always
136
+ have descriptive Alt text for the benefit of readers using non-graphical
147
137
  browsers.
148
138
 
149
- Optional: place a colon followed by a URL immediately after the
139
+ Optional: place a colon followed by a URL immediately after the
150
140
  closing ! to make the image into a link.
151
141
 
152
142
  Example:
@@ -167,11 +157,11 @@ Will become:
167
157
 
168
158
  == Defining Acronyms
169
159
 
170
- HTML allows authors to define acronyms via the tag. The definition appears as a
171
- tool tip when a cursor hovers over the acronym. A crucial aid to clear writing,
160
+ HTML allows authors to define acronyms via the tag. The definition appears as a
161
+ tool tip when a cursor hovers over the acronym. A crucial aid to clear writing,
172
162
  this should be used at least once for each acronym in documents where they appear.
173
163
 
174
- To quickly define an acronym in Textile, place the full text in (parentheses)
164
+ To quickly define an acronym in Textile, place the full text in (parentheses)
175
165
  immediately following the acronym.
176
166
 
177
167
  Example:
@@ -194,5 +184,3 @@ Styles are applied with curly braces.
194
184
 
195
185
  table{border:1px solid black}.
196
186
  {background:#ddd;color:red}. |a|red|row|
197
-
198
-
data/Rakefile CHANGED
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
2
  require 'rubygems'
3
3
  require 'bundler'
4
- ENV['RUBYOPT'] = nil # Necessary to prevent Bundler from *&^%$#ing up rake-compiler.
5
4
 
6
5
  require 'rake/clean'
7
6
 
@@ -7463,7 +7463,7 @@ _eof_trans:
7463
7463
  break;
7464
7464
  case 24:
7465
7465
  #line 103 "ragel/redcloth_inline.rl"
7466
- {te = p+1;{ CAT(block); {cs = 1261; goto _again;} }}
7466
+ {te = p+1;{ CAT(block); {cs = 1261;goto _again;} }}
7467
7467
  break;
7468
7468
  case 25:
7469
7469
  #line 6 "ragel/redcloth_common.c.rl"
@@ -7563,7 +7563,7 @@ _eof_trans:
7563
7563
  break;
7564
7564
  case 49:
7565
7565
  #line 116 "ragel/redcloth_inline.rl"
7566
- {te = p+1;{ CAT(block); {cs = 1506; goto _again;} }}
7566
+ {te = p+1;{ CAT(block); {cs = 1506;goto _again;} }}
7567
7567
  break;
7568
7568
  case 50:
7569
7569
  #line 117 "ragel/redcloth_inline.rl"
@@ -7699,7 +7699,7 @@ _eof_trans:
7699
7699
  break;
7700
7700
  case 83:
7701
7701
  #line 116 "ragel/redcloth_inline.rl"
7702
- {te = p;p--;{ CAT(block); {cs = 1506; goto _again;} }}
7702
+ {te = p;p--;{ CAT(block); {cs = 1506;goto _again;} }}
7703
7703
  break;
7704
7704
  case 84:
7705
7705
  #line 118 "ragel/redcloth_inline.rl"
@@ -7830,7 +7830,7 @@ _eof_trans:
7830
7830
  {{p = ((te))-1;} PASS_CODE(block, "text", "code"); }
7831
7831
  break;
7832
7832
  case 8:
7833
- {{p = ((te))-1;} CAT(block); {cs = 1506; goto _again;} }
7833
+ {{p = ((te))-1;} CAT(block); {cs = 1506;goto _again;} }
7834
7834
  break;
7835
7835
  case 10:
7836
7836
  {{p = ((te))-1;} PARSE_ATTR("text"); PASS(block, "text", "strong"); }
@@ -23459,7 +23459,7 @@ _eof_trans:
23459
23459
  break;
23460
23460
  case 58:
23461
23461
  #line 150 "ragel/redcloth_scan.rl"
23462
- { SET_ATTRIBUTES(); {cs = 2479; goto _again;} }
23462
+ { SET_ATTRIBUTES(); {cs = 2479;goto _again;} }
23463
23463
  break;
23464
23464
  case 61:
23465
23465
  #line 1 "NONE"
@@ -23467,7 +23467,7 @@ _eof_trans:
23467
23467
  break;
23468
23468
  case 62:
23469
23469
  #line 72 "ragel/redcloth_scan.rl"
23470
- {te = p+1;{ CAT(block); DONE(block); {cs = 2250; goto _again;} }}
23470
+ {te = p+1;{ CAT(block); DONE(block); {cs = 2250;goto _again;} }}
23471
23471
  break;
23472
23472
  case 63:
23473
23473
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23475,7 +23475,7 @@ _eof_trans:
23475
23475
  break;
23476
23476
  case 64:
23477
23477
  #line 72 "ragel/redcloth_scan.rl"
23478
- {te = p;p--;{ CAT(block); DONE(block); {cs = 2250; goto _again;} }}
23478
+ {te = p;p--;{ CAT(block); DONE(block); {cs = 2250;goto _again;} }}
23479
23479
  break;
23480
23480
  case 65:
23481
23481
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23499,15 +23499,15 @@ _eof_trans:
23499
23499
  break;
23500
23500
  case 70:
23501
23501
  #line 77 "ragel/redcloth_scan.rl"
23502
- {te = p+1;{ ADD_BLOCKCODE(); {cs = 2250; goto _again;} }}
23502
+ {te = p+1;{ ADD_BLOCKCODE(); {cs = 2250;goto _again;} }}
23503
23503
  break;
23504
23504
  case 71:
23505
23505
  #line 80 "ragel/redcloth_scan.rl"
23506
- {te = p+1;{ ADD_EXTENDED_BLOCKCODE(); END_EXTENDED(); {cs = 2250; goto _again;} }}
23506
+ {te = p+1;{ ADD_EXTENDED_BLOCKCODE(); END_EXTENDED(); {cs = 2250;goto _again;} }}
23507
23507
  break;
23508
23508
  case 72:
23509
23509
  #line 81 "ragel/redcloth_scan.rl"
23510
- {te = p+1;{ ADD_BLOCKCODE(); {cs = 2250; goto _again;} }}
23510
+ {te = p+1;{ ADD_BLOCKCODE(); {cs = 2250;goto _again;} }}
23511
23511
  break;
23512
23512
  case 73:
23513
23513
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23519,7 +23519,7 @@ _eof_trans:
23519
23519
  break;
23520
23520
  case 75:
23521
23521
  #line 79 "ragel/redcloth_scan.rl"
23522
- {te = p;p--;{ ADD_BLOCKCODE(); {cs = 2250; goto _again;} }}
23522
+ {te = p;p--;{ ADD_BLOCKCODE(); {cs = 2250;goto _again;} }}
23523
23523
  break;
23524
23524
  case 76:
23525
23525
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23536,7 +23536,7 @@ _eof_trans:
23536
23536
  {{p = ((te))-1;} ADD_EXTENDED_BLOCKCODE(); }
23537
23537
  break;
23538
23538
  case 5:
23539
- {{p = ((te))-1;} ADD_BLOCKCODE(); {cs = 2250; goto _again;} }
23539
+ {{p = ((te))-1;} ADD_BLOCKCODE(); {cs = 2250;goto _again;} }
23540
23540
  break;
23541
23541
  case 8:
23542
23542
  {{p = ((te))-1;} rb_str_cat_escaped_for_preformatted(self, block, ts, te); }
@@ -23546,11 +23546,11 @@ _eof_trans:
23546
23546
  break;
23547
23547
  case 79:
23548
23548
  #line 86 "ragel/redcloth_scan.rl"
23549
- {te = p+1;{ CAT(block); ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250; goto _again;} }}
23549
+ {te = p+1;{ CAT(block); ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250;goto _again;} }}
23550
23550
  break;
23551
23551
  case 80:
23552
23552
  #line 87 "ragel/redcloth_scan.rl"
23553
- {te = p+1;{ ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250; goto _again;} }}
23553
+ {te = p+1;{ ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250;goto _again;} }}
23554
23554
  break;
23555
23555
  case 81:
23556
23556
  #line 11 "ragel/redcloth_common.rl"
@@ -23558,7 +23558,7 @@ _eof_trans:
23558
23558
  break;
23559
23559
  case 82:
23560
23560
  #line 86 "ragel/redcloth_scan.rl"
23561
- {te = p;p--;{ CAT(block); ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250; goto _again;} }}
23561
+ {te = p;p--;{ CAT(block); ASET("type", "ignore"); ADD_BLOCK(); {cs = 2250;goto _again;} }}
23562
23562
  break;
23563
23563
  case 83:
23564
23564
  #line 11 "ragel/redcloth_common.rl"
@@ -23570,7 +23570,7 @@ _eof_trans:
23570
23570
  break;
23571
23571
  case 85:
23572
23572
  #line 92 "ragel/redcloth_scan.rl"
23573
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23573
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23574
23574
  break;
23575
23575
  case 86:
23576
23576
  #line 11 "ragel/redcloth_common.rl"
@@ -23590,15 +23590,15 @@ _eof_trans:
23590
23590
  break;
23591
23591
  case 90:
23592
23592
  #line 97 "ragel/redcloth_scan.rl"
23593
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23593
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23594
23594
  break;
23595
23595
  case 91:
23596
23596
  #line 100 "ragel/redcloth_scan.rl"
23597
- {te = p+1;{ CAT(block); ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250; goto _again;} }}
23597
+ {te = p+1;{ CAT(block); ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250;goto _again;} }}
23598
23598
  break;
23599
23599
  case 92:
23600
23600
  #line 101 "ragel/redcloth_scan.rl"
23601
- {te = p+1;{ ADD_BLOCK(); CAT(html); {cs = 2250; goto _again;} }}
23601
+ {te = p+1;{ ADD_BLOCK(); CAT(html); {cs = 2250;goto _again;} }}
23602
23602
  break;
23603
23603
  case 93:
23604
23604
  #line 11 "ragel/redcloth_common.rl"
@@ -23610,7 +23610,7 @@ _eof_trans:
23610
23610
  break;
23611
23611
  case 95:
23612
23612
  #line 99 "ragel/redcloth_scan.rl"
23613
- {te = p;p--;{ ADD_BLOCK(); CAT(html); {cs = 2250; goto _again;} }}
23613
+ {te = p;p--;{ ADD_BLOCK(); CAT(html); {cs = 2250;goto _again;} }}
23614
23614
  break;
23615
23615
  case 96:
23616
23616
  #line 11 "ragel/redcloth_common.rl"
@@ -23627,7 +23627,7 @@ _eof_trans:
23627
23627
  {{p = ((te))-1;} CAT(block); ADD_EXTENDED_BLOCK(); CAT(html); }
23628
23628
  break;
23629
23629
  case 16:
23630
- {{p = ((te))-1;} ADD_BLOCK(); CAT(html); {cs = 2250; goto _again;} }
23630
+ {{p = ((te))-1;} ADD_BLOCK(); CAT(html); {cs = 2250;goto _again;} }
23631
23631
  break;
23632
23632
  case 19:
23633
23633
  {{p = ((te))-1;} CAT(block); }
@@ -23641,7 +23641,7 @@ _eof_trans:
23641
23641
  break;
23642
23642
  case 100:
23643
23643
  #line 106 "ragel/redcloth_scan.rl"
23644
- {te = p;p--;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23644
+ {te = p;p--;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23645
23645
  break;
23646
23646
  case 101:
23647
23647
  #line 11 "ragel/redcloth_common.rl"
@@ -23665,15 +23665,15 @@ _eof_trans:
23665
23665
  break;
23666
23666
  case 106:
23667
23667
  #line 111 "ragel/redcloth_scan.rl"
23668
- {te = p+1;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250; goto _again;} }}
23668
+ {te = p+1;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250;goto _again;} }}
23669
23669
  break;
23670
23670
  case 107:
23671
23671
  #line 114 "ragel/redcloth_scan.rl"
23672
- {te = p+1;{ ADD_EXTENDED_BLOCKCODE(); CAT(html); RSTRIP_BANG(html); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); END_EXTENDED(); {cs = 2250; goto _again;} }}
23672
+ {te = p+1;{ ADD_EXTENDED_BLOCKCODE(); CAT(html); RSTRIP_BANG(html); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); END_EXTENDED(); {cs = 2250;goto _again;} }}
23673
23673
  break;
23674
23674
  case 108:
23675
23675
  #line 115 "ragel/redcloth_scan.rl"
23676
- {te = p+1;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250; goto _again;} }}
23676
+ {te = p+1;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250;goto _again;} }}
23677
23677
  break;
23678
23678
  case 109:
23679
23679
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23685,7 +23685,7 @@ _eof_trans:
23685
23685
  break;
23686
23686
  case 111:
23687
23687
  #line 113 "ragel/redcloth_scan.rl"
23688
- {te = p;p--;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250; goto _again;} }}
23688
+ {te = p;p--;{ ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250;goto _again;} }}
23689
23689
  break;
23690
23690
  case 112:
23691
23691
  #line 6 "ragel/redcloth_common.c.rl"
@@ -23702,7 +23702,7 @@ _eof_trans:
23702
23702
  {{p = ((te))-1;} ADD_EXTENDED_BLOCKCODE(); CAT(html); }
23703
23703
  break;
23704
23704
  case 24:
23705
- {{p = ((te))-1;} ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250; goto _again;} }
23705
+ {{p = ((te))-1;} ADD_BLOCKCODE(); INLINE(html, "bc_close"); SET_PLAIN_BLOCK("p"); {cs = 2250;goto _again;} }
23706
23706
  break;
23707
23707
  case 27:
23708
23708
  {{p = ((te))-1;} rb_str_cat_escaped_for_preformatted(self, block, ts, te); }
@@ -23724,23 +23724,23 @@ _eof_trans:
23724
23724
  break;
23725
23725
  case 118:
23726
23726
  #line 120 "ragel/redcloth_scan.rl"
23727
- {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250; goto _again;} }}
23727
+ {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250;goto _again;} }}
23728
23728
  break;
23729
23729
  case 119:
23730
23730
  #line 123 "ragel/redcloth_scan.rl"
23731
- {te = p+1;{ ADD_EXTENDED_BLOCK(); INLINE(html, "bq_close"); END_EXTENDED(); {cs = 2250; goto _again;} }}
23731
+ {te = p+1;{ ADD_EXTENDED_BLOCK(); INLINE(html, "bq_close"); END_EXTENDED(); {cs = 2250;goto _again;} }}
23732
23732
  break;
23733
23733
  case 120:
23734
23734
  #line 124 "ragel/redcloth_scan.rl"
23735
- {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250; goto _again;} }}
23735
+ {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250;goto _again;} }}
23736
23736
  break;
23737
23737
  case 121:
23738
23738
  #line 125 "ragel/redcloth_scan.rl"
23739
- {te = p+1;{ ADD_EXTENDED_BLOCK(); INLINE(html, "bq_close"); END_EXTENDED(); {cs = 2250; goto _again;} }}
23739
+ {te = p+1;{ ADD_EXTENDED_BLOCK(); INLINE(html, "bq_close"); END_EXTENDED(); {cs = 2250;goto _again;} }}
23740
23740
  break;
23741
23741
  case 122:
23742
23742
  #line 126 "ragel/redcloth_scan.rl"
23743
- {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250; goto _again;} }}
23743
+ {te = p+1;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250;goto _again;} }}
23744
23744
  break;
23745
23745
  case 123:
23746
23746
  #line 11 "ragel/redcloth_common.rl"
@@ -23752,7 +23752,7 @@ _eof_trans:
23752
23752
  break;
23753
23753
  case 125:
23754
23754
  #line 122 "ragel/redcloth_scan.rl"
23755
- {te = p;p--;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250; goto _again;} }}
23755
+ {te = p;p--;{ ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250;goto _again;} }}
23756
23756
  break;
23757
23757
  case 126:
23758
23758
  #line 11 "ragel/redcloth_common.rl"
@@ -23769,7 +23769,7 @@ _eof_trans:
23769
23769
  {{p = ((te))-1;} ADD_EXTENDED_BLOCK(); }
23770
23770
  break;
23771
23771
  case 30:
23772
- {{p = ((te))-1;} ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250; goto _again;} }
23772
+ {{p = ((te))-1;} ADD_BLOCK(); INLINE(html, "bq_close"); {cs = 2250;goto _again;} }
23773
23773
  break;
23774
23774
  case 35:
23775
23775
  {{p = ((te))-1;} CAT(block); }
@@ -23795,23 +23795,23 @@ _eof_trans:
23795
23795
  break;
23796
23796
  case 133:
23797
23797
  #line 131 "ragel/redcloth_scan.rl"
23798
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23798
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23799
23799
  break;
23800
23800
  case 134:
23801
23801
  #line 134 "ragel/redcloth_scan.rl"
23802
- {te = p+1;{ ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250; goto _again;} }}
23802
+ {te = p+1;{ ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250;goto _again;} }}
23803
23803
  break;
23804
23804
  case 135:
23805
23805
  #line 135 "ragel/redcloth_scan.rl"
23806
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23806
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23807
23807
  break;
23808
23808
  case 136:
23809
23809
  #line 136 "ragel/redcloth_scan.rl"
23810
- {te = p+1;{ ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250; goto _again;} }}
23810
+ {te = p+1;{ ADD_EXTENDED_BLOCK(); END_EXTENDED(); {cs = 2250;goto _again;} }}
23811
23811
  break;
23812
23812
  case 137:
23813
23813
  #line 137 "ragel/redcloth_scan.rl"
23814
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23814
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23815
23815
  break;
23816
23816
  case 138:
23817
23817
  #line 11 "ragel/redcloth_common.rl"
@@ -23823,11 +23823,11 @@ _eof_trans:
23823
23823
  break;
23824
23824
  case 140:
23825
23825
  #line 133 "ragel/redcloth_scan.rl"
23826
- {te = p;p--;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23826
+ {te = p;p--;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23827
23827
  break;
23828
23828
  case 141:
23829
23829
  #line 138 "ragel/redcloth_scan.rl"
23830
- {te = p;p--;{ ADD_BLOCK(); CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159; goto _again;} }}
23830
+ {te = p;p--;{ ADD_BLOCK(); CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159;goto _again;} }}
23831
23831
  break;
23832
23832
  case 142:
23833
23833
  #line 11 "ragel/redcloth_common.rl"
@@ -23844,10 +23844,10 @@ _eof_trans:
23844
23844
  {{p = ((te))-1;} ADD_EXTENDED_BLOCK(); }
23845
23845
  break;
23846
23846
  case 38:
23847
- {{p = ((te))-1;} ADD_BLOCK(); {cs = 2250; goto _again;} }
23847
+ {{p = ((te))-1;} ADD_BLOCK(); {cs = 2250;goto _again;} }
23848
23848
  break;
23849
23849
  case 43:
23850
- {{p = ((te))-1;} ADD_BLOCK(); CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159; goto _again;} }
23850
+ {{p = ((te))-1;} ADD_BLOCK(); CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159;goto _again;} }
23851
23851
  break;
23852
23852
  case 44:
23853
23853
  {{p = ((te))-1;} CAT(block); }
@@ -23857,7 +23857,7 @@ _eof_trans:
23857
23857
  break;
23858
23858
  case 145:
23859
23859
  #line 144 "ragel/redcloth_scan.rl"
23860
- {te = p+1;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23860
+ {te = p+1;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23861
23861
  break;
23862
23862
  case 146:
23863
23863
  #line 11 "ragel/redcloth_common.rl"
@@ -23865,7 +23865,7 @@ _eof_trans:
23865
23865
  break;
23866
23866
  case 147:
23867
23867
  #line 144 "ragel/redcloth_scan.rl"
23868
- {te = p;p--;{ ADD_BLOCK(); {cs = 2250; goto _again;} }}
23868
+ {te = p;p--;{ ADD_BLOCK(); {cs = 2250;goto _again;} }}
23869
23869
  break;
23870
23870
  case 148:
23871
23871
  #line 11 "ragel/redcloth_common.rl"
@@ -23885,7 +23885,7 @@ _eof_trans:
23885
23885
  break;
23886
23886
  case 152:
23887
23887
  #line 154 "ragel/redcloth_scan.rl"
23888
- {te = p+1;{ ADD_BLOCK(); RESET_NEST(); LIST_LAYOUT(); {cs = 2250; goto _again;} }}
23888
+ {te = p+1;{ ADD_BLOCK(); RESET_NEST(); LIST_LAYOUT(); {cs = 2250;goto _again;} }}
23889
23889
  break;
23890
23890
  case 153:
23891
23891
  #line 11 "ragel/redcloth_common.rl"
@@ -23893,11 +23893,11 @@ _eof_trans:
23893
23893
  break;
23894
23894
  case 154:
23895
23895
  #line 153 "ragel/redcloth_scan.rl"
23896
- {te = p;p--;{ ADD_BLOCK(); LIST_LAYOUT(); {cs = 2159; goto _again;} }}
23896
+ {te = p;p--;{ ADD_BLOCK(); LIST_LAYOUT(); {cs = 2159;goto _again;} }}
23897
23897
  break;
23898
23898
  case 155:
23899
23899
  #line 154 "ragel/redcloth_scan.rl"
23900
- {te = p;p--;{ ADD_BLOCK(); RESET_NEST(); LIST_LAYOUT(); {cs = 2250; goto _again;} }}
23900
+ {te = p;p--;{ ADD_BLOCK(); RESET_NEST(); LIST_LAYOUT(); {cs = 2250;goto _again;} }}
23901
23901
  break;
23902
23902
  case 156:
23903
23903
  #line 11 "ragel/redcloth_common.rl"
@@ -23911,7 +23911,7 @@ _eof_trans:
23911
23911
  #line 1 "NONE"
23912
23912
  { switch( act ) {
23913
23913
  case 47:
23914
- {{p = ((te))-1;} ADD_BLOCK(); LIST_LAYOUT(); {cs = 2159; goto _again;} }
23914
+ {{p = ((te))-1;} ADD_BLOCK(); LIST_LAYOUT(); {cs = 2159;goto _again;} }
23915
23915
  break;
23916
23916
  case 49:
23917
23917
  {{p = ((te))-1;} CAT(block); }
@@ -23925,7 +23925,7 @@ _eof_trans:
23925
23925
  break;
23926
23926
  case 160:
23927
23927
  #line 162 "ragel/redcloth_scan.rl"
23928
- {te = p+1;{ ADD_BLOCK(); INLINE(html, "dl_close"); {cs = 2250; goto _again;} }}
23928
+ {te = p+1;{ ADD_BLOCK(); INLINE(html, "dl_close"); {cs = 2250;goto _again;} }}
23929
23929
  break;
23930
23930
  case 161:
23931
23931
  #line 11 "ragel/redcloth_common.rl"
@@ -23941,7 +23941,7 @@ _eof_trans:
23941
23941
  break;
23942
23942
  case 164:
23943
23943
  #line 162 "ragel/redcloth_scan.rl"
23944
- {te = p;p--;{ ADD_BLOCK(); INLINE(html, "dl_close"); {cs = 2250; goto _again;} }}
23944
+ {te = p;p--;{ ADD_BLOCK(); INLINE(html, "dl_close"); {cs = 2250;goto _again;} }}
23945
23945
  break;
23946
23946
  case 165:
23947
23947
  #line 11 "ragel/redcloth_common.rl"
@@ -24009,7 +24009,7 @@ _eof_trans:
24009
24009
  break;
24010
24010
  case 181:
24011
24011
  #line 171 "ragel/redcloth_scan.rl"
24012
- {te = p+1;{ ASET("type", "notextile"); CAT(block); {cs = 2420; goto _again;} }}
24012
+ {te = p+1;{ ASET("type", "notextile"); CAT(block); {cs = 2420;goto _again;} }}
24013
24013
  break;
24014
24014
  case 182:
24015
24015
  #line 173 "ragel/redcloth_scan.rl"
@@ -24029,7 +24029,7 @@ _eof_trans:
24029
24029
  CLEAR_REGS();
24030
24030
  RESET_TYPE();
24031
24031
  CAT(block);
24032
- {cs = 2465; goto _again;}
24032
+ {cs = 2465;goto _again;}
24033
24033
  }}
24034
24034
  break;
24035
24035
  case 186:
@@ -24038,7 +24038,7 @@ _eof_trans:
24038
24038
  break;
24039
24039
  case 187:
24040
24040
  #line 167 "ragel/redcloth_scan.rl"
24041
- {te = p;p--;{ ASET("type", "ignored_line"); {cs = 2434; goto _again;} }}
24041
+ {te = p;p--;{ ASET("type", "ignored_line"); {cs = 2434;goto _again;} }}
24042
24042
  break;
24043
24043
  case 188:
24044
24044
  #line 168 "ragel/redcloth_scan.rl"
@@ -24046,19 +24046,19 @@ _eof_trans:
24046
24046
  break;
24047
24047
  case 189:
24048
24048
  #line 169 "ragel/redcloth_scan.rl"
24049
- {te = p;p--;{ ASET("type", "notextile"); {cs = 2435; goto _again;} }}
24049
+ {te = p;p--;{ ASET("type", "notextile"); {cs = 2435;goto _again;} }}
24050
24050
  break;
24051
24051
  case 190:
24052
24052
  #line 170 "ragel/redcloth_scan.rl"
24053
- {te = p;p--;{ CAT(block); {cs = 2431; goto _again;} }}
24053
+ {te = p;p--;{ CAT(block); {cs = 2431;goto _again;} }}
24054
24054
  break;
24055
24055
  case 191:
24056
24056
  #line 171 "ragel/redcloth_scan.rl"
24057
- {te = p;p--;{ ASET("type", "notextile"); CAT(block); {cs = 2420; goto _again;} }}
24057
+ {te = p;p--;{ ASET("type", "notextile"); CAT(block); {cs = 2420;goto _again;} }}
24058
24058
  break;
24059
24059
  case 192:
24060
24060
  #line 172 "ragel/redcloth_scan.rl"
24061
- {te = p;p--;{ {cs = 2423; goto _again;} }}
24061
+ {te = p;p--;{ {cs = 2423;goto _again;} }}
24062
24062
  break;
24063
24063
  case 193:
24064
24064
  #line 173 "ragel/redcloth_scan.rl"
@@ -24066,23 +24066,23 @@ _eof_trans:
24066
24066
  break;
24067
24067
  case 194:
24068
24068
  #line 174 "ragel/redcloth_scan.rl"
24069
- {te = p;p--;{ ASET("type", "html_block"); {cs = 2443; goto _again;} }}
24069
+ {te = p;p--;{ ASET("type", "html_block"); {cs = 2443;goto _again;} }}
24070
24070
  break;
24071
24071
  case 195:
24072
24072
  #line 175 "ragel/redcloth_scan.rl"
24073
- {te = p;p--;{ INLINE(html, "bc_open"); ASET("type", "code"); SET_PLAIN_BLOCK("code"); {cs = 2449; goto _again;} }}
24073
+ {te = p;p--;{ INLINE(html, "bc_open"); ASET("type", "code"); SET_PLAIN_BLOCK("code"); {cs = 2449;goto _again;} }}
24074
24074
  break;
24075
24075
  case 196:
24076
24076
  #line 176 "ragel/redcloth_scan.rl"
24077
- {te = p;p--;{ INLINE(html, "bq_open"); ASET("type", "p"); {cs = 2457; goto _again;} }}
24077
+ {te = p;p--;{ INLINE(html, "bq_open"); ASET("type", "p"); {cs = 2457;goto _again;} }}
24078
24078
  break;
24079
24079
  case 197:
24080
24080
  #line 177 "ragel/redcloth_scan.rl"
24081
- {te = p;p--;{ {cs = 2465; goto _again;} }}
24081
+ {te = p;p--;{ {cs = 2465;goto _again;} }}
24082
24082
  break;
24083
24083
  case 198:
24084
24084
  #line 178 "ragel/redcloth_scan.rl"
24085
- {te = p;p--;{ {cs = 2475; goto _again;} }}
24085
+ {te = p;p--;{ {cs = 2475;goto _again;} }}
24086
24086
  break;
24087
24087
  case 199:
24088
24088
  #line 179 "ragel/redcloth_scan.rl"
@@ -24090,15 +24090,15 @@ _eof_trans:
24090
24090
  break;
24091
24091
  case 200:
24092
24092
  #line 180 "ragel/redcloth_scan.rl"
24093
- {te = p;p--;{ CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159; goto _again;} }}
24093
+ {te = p;p--;{ CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159;goto _again;} }}
24094
24094
  break;
24095
24095
  case 201:
24096
24096
  #line 181 "ragel/redcloth_scan.rl"
24097
- {te = p;p--;{ {p = (((ts + 1)))-1;} INLINE(html, "dl_open"); ASET("type", "dt"); {cs = 2484; goto _again;} }}
24097
+ {te = p;p--;{ {p = (((ts + 1)))-1;} INLINE(html, "dl_open"); ASET("type", "dt"); {cs = 2484;goto _again;} }}
24098
24098
  break;
24099
24099
  case 202:
24100
24100
  #line 182 "ragel/redcloth_scan.rl"
24101
- {te = p;p--;{ INLINE(table, "table_close"); DONE(table); {cs = 2465; goto _again;} }}
24101
+ {te = p;p--;{ INLINE(table, "table_close"); DONE(table); {cs = 2465;goto _again;} }}
24102
24102
  break;
24103
24103
  case 203:
24104
24104
  #line 183 "ragel/redcloth_scan.rl"
@@ -24106,7 +24106,7 @@ _eof_trans:
24106
24106
  break;
24107
24107
  case 204:
24108
24108
  #line 184 "ragel/redcloth_scan.rl"
24109
- {te = p;p--;{ RESET_TYPE(); {cs = 2465; goto _again;} }}
24109
+ {te = p;p--;{ RESET_TYPE(); {cs = 2465;goto _again;} }}
24110
24110
  break;
24111
24111
  case 205:
24112
24112
  #line 185 "ragel/redcloth_scan.rl"
@@ -24118,20 +24118,20 @@ _eof_trans:
24118
24118
  CLEAR_REGS();
24119
24119
  RESET_TYPE();
24120
24120
  CAT(block);
24121
- {cs = 2465; goto _again;}
24121
+ {cs = 2465;goto _again;}
24122
24122
  }}
24123
24123
  break;
24124
24124
  case 207:
24125
24125
  #line 167 "ragel/redcloth_scan.rl"
24126
- {{p = ((te))-1;}{ ASET("type", "ignored_line"); {cs = 2434; goto _again;} }}
24126
+ {{p = ((te))-1;}{ ASET("type", "ignored_line"); {cs = 2434;goto _again;} }}
24127
24127
  break;
24128
24128
  case 208:
24129
24129
  #line 171 "ragel/redcloth_scan.rl"
24130
- {{p = ((te))-1;}{ ASET("type", "notextile"); CAT(block); {cs = 2420; goto _again;} }}
24130
+ {{p = ((te))-1;}{ ASET("type", "notextile"); CAT(block); {cs = 2420;goto _again;} }}
24131
24131
  break;
24132
24132
  case 209:
24133
24133
  #line 182 "ragel/redcloth_scan.rl"
24134
- {{p = ((te))-1;}{ INLINE(table, "table_close"); DONE(table); {cs = 2465; goto _again;} }}
24134
+ {{p = ((te))-1;}{ INLINE(table, "table_close"); DONE(table); {cs = 2465;goto _again;} }}
24135
24135
  break;
24136
24136
  case 210:
24137
24137
  #line 183 "ragel/redcloth_scan.rl"
@@ -24143,51 +24143,51 @@ _eof_trans:
24143
24143
  CLEAR_REGS();
24144
24144
  RESET_TYPE();
24145
24145
  CAT(block);
24146
- {cs = 2465; goto _again;}
24146
+ {cs = 2465;goto _again;}
24147
24147
  }}
24148
24148
  break;
24149
24149
  case 212:
24150
24150
  #line 1 "NONE"
24151
24151
  { switch( act ) {
24152
24152
  case 55:
24153
- {{p = ((te))-1;} ASET("type", "ignored_line"); {cs = 2434; goto _again;} }
24153
+ {{p = ((te))-1;} ASET("type", "ignored_line"); {cs = 2434;goto _again;} }
24154
24154
  break;
24155
24155
  case 58:
24156
- {{p = ((te))-1;} CAT(block); {cs = 2431; goto _again;} }
24156
+ {{p = ((te))-1;} CAT(block); {cs = 2431;goto _again;} }
24157
24157
  break;
24158
24158
  case 59:
24159
- {{p = ((te))-1;} ASET("type", "notextile"); CAT(block); {cs = 2420; goto _again;} }
24159
+ {{p = ((te))-1;} ASET("type", "notextile"); CAT(block); {cs = 2420;goto _again;} }
24160
24160
  break;
24161
24161
  case 61:
24162
24162
  {{p = ((te))-1;} ASET("type", "html"); CAT(block); ADD_BLOCK(); }
24163
24163
  break;
24164
24164
  case 62:
24165
- {{p = ((te))-1;} ASET("type", "html_block"); {cs = 2443; goto _again;} }
24165
+ {{p = ((te))-1;} ASET("type", "html_block"); {cs = 2443;goto _again;} }
24166
24166
  break;
24167
24167
  case 67:
24168
24168
  {{p = ((te))-1;} INLINE(html, "hr"); }
24169
24169
  break;
24170
24170
  case 68:
24171
- {{p = ((te))-1;} CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159; goto _again;} }
24171
+ {{p = ((te))-1;} CLEAR_LIST(); LIST_LAYOUT(); {cs = 2159;goto _again;} }
24172
24172
  break;
24173
24173
  case 69:
24174
- {{p = ((te))-1;} {p = (((ts + 1)))-1;} INLINE(html, "dl_open"); ASET("type", "dt"); {cs = 2484; goto _again;} }
24174
+ {{p = ((te))-1;} {p = (((ts + 1)))-1;} INLINE(html, "dl_open"); ASET("type", "dt"); {cs = 2484;goto _again;} }
24175
24175
  break;
24176
24176
  case 70:
24177
- {{p = ((te))-1;} INLINE(table, "table_close"); DONE(table); {cs = 2465; goto _again;} }
24177
+ {{p = ((te))-1;} INLINE(table, "table_close"); DONE(table); {cs = 2465;goto _again;} }
24178
24178
  break;
24179
24179
  case 71:
24180
24180
  {{p = ((te))-1;} STORE_LINK_ALIAS(); DONE(block); }
24181
24181
  break;
24182
24182
  case 72:
24183
- {{p = ((te))-1;} RESET_TYPE(); {cs = 2465; goto _again;} }
24183
+ {{p = ((te))-1;} RESET_TYPE(); {cs = 2465;goto _again;} }
24184
24184
  break;
24185
24185
  case 75:
24186
24186
  {{p = ((te))-1;}
24187
24187
  CLEAR_REGS();
24188
24188
  RESET_TYPE();
24189
24189
  CAT(block);
24190
- {cs = 2465; goto _again;}
24190
+ {cs = 2465;goto _again;}
24191
24191
  }
24192
24192
  break;
24193
24193
  }