devcenter-parser 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
- metadata.gz: 2790d0cac63fd9f47303678061d2a877c74b2720
4
- data.tar.gz: 708dd40a2122f51d0af02be946907dbe4e8a7402
3
+ metadata.gz: ff2616478d3d632bed371acb0739aed0d1064616
4
+ data.tar.gz: eecc476cea9e7092cebc2e4699655b3697d799a4
5
5
  !binary "U0hBNTEy":
6
- metadata.gz: db195363147b483e82cd728427da3099e9f1f4bd670731955e3bf2f2be5874d392bbf0c6dd4be6a5fd53341b65901febe0ee7b0762aaa052d7c03c7b966ab93c
7
- data.tar.gz: 1f9703a40cad75bbf28d6dacbfcd6036a415de930ff95baa581fa562c86957e60b53b22e6e4649a13968cf2bec5ed91db3f90ac8a0e8febed7c3be006701b1b8
6
+ metadata.gz: f0c9417344b75819d74053801e817dee03bf2350afbfe52b8bb0895b9f7f15059b8b91270e81b2f0fd66b3525d8293c5e4abb2b0bc819df0a4e20b7b94df8816
7
+ data.tar.gz: 0e764627b8fa7fa86a3df8436c420d29e94ded419be36892330f89d793bdfbf79f12132de74025edef234952bb29d305bd25c645027889d97c61723134bfe6e6
@@ -6,7 +6,7 @@ require 'sanitize'
6
6
 
7
7
  module DevcenterParser
8
8
 
9
- VERSION = '1.3.6'
9
+ VERSION = '1.3.7'
10
10
 
11
11
  AVAILABLE_FLAVOURS = [:github, :maruku]
12
12
 
@@ -68,7 +68,7 @@ module DevcenterParser
68
68
  end
69
69
 
70
70
  def self.normalize_newlines(markdown)
71
- markdown.lines.map{ |l| l.chomp }.join("\n")
71
+ markdown.lines.map{ |l| l.strip }.join("\n")
72
72
  end
73
73
 
74
74
  def self.github_parser
@@ -183,6 +183,7 @@ Testing
183
183
 
184
184
  > callout
185
185
  > **strong**
186
+ > more callout
186
187
 
187
188
  > normal
188
189
 
@@ -194,6 +195,7 @@ Testing
194
195
 
195
196
  >callout
196
197
  >**strong**
198
+ >more callout
197
199
 
198
200
  >normal
199
201
 
@@ -204,7 +206,8 @@ And that's it.
204
206
  <p>Testing</p>
205
207
 
206
208
  <div class="callout">
207
- <p><strong>strong</strong></p>
209
+ <p><strong>strong</strong>
210
+ more callout</p>
208
211
  </div>
209
212
 
210
213
  <p class="devcenter-parser-special-block-separator" style="display:none"> </p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcenter-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heroku