devcenter-parser 1.3.6 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/devcenter-parser.rb +2 -2
- data/test/devcenter-parser_test.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff2616478d3d632bed371acb0739aed0d1064616
|
4
|
+
data.tar.gz: eecc476cea9e7092cebc2e4699655b3697d799a4
|
5
5
|
!binary "U0hBNTEy":
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c9417344b75819d74053801e817dee03bf2350afbfe52b8bb0895b9f7f15059b8b91270e81b2f0fd66b3525d8293c5e4abb2b0bc819df0a4e20b7b94df8816
|
7
|
+
data.tar.gz: 0e764627b8fa7fa86a3df8436c420d29e94ded419be36892330f89d793bdfbf79f12132de74025edef234952bb29d305bd25c645027889d97c61723134bfe6e6
|
data/lib/devcenter-parser.rb
CHANGED
@@ -6,7 +6,7 @@ require 'sanitize'
|
|
6
6
|
|
7
7
|
module DevcenterParser
|
8
8
|
|
9
|
-
VERSION = '1.3.
|
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.
|
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
|
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>
|