reverse_markdown 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +4 -0
- data/lib/reverse_markdown.rb +3 -3
- data/lib/reverse_markdown/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f0ef170d268f3d83a3d858772d19fcfe44208c
|
4
|
+
data.tar.gz: 63136ceee1bf012ab22a2f3b0992e019a88e652c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79026e3687f8ffb54aa7c26309481b98c797aad08aeafe92a8c92d8080f455e6014d3337c5a241d0e9e0baadf9011d3c830ce86d75df443b94c3d42377fee88b
|
7
|
+
data.tar.gz: 66a4ef51b5ba867d4b9b677b4147c491a3ba021dcde562eb5a065ac5415cf60ba891efb940c0ad134a5c9a121149a11a35a56b12216ad61b13b2c13213a76ecf
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## 1.0.3 - Apr 2016
|
5
|
+
### Changes
|
6
|
+
- Use tag_border option while cleaning up, thanks @AlexanderPruss (#66)
|
7
|
+
|
4
8
|
## 1.0.2 - Apr 2016
|
5
9
|
### Changes
|
6
10
|
- Handle edge case: exclamation mark before links, thanks @Easy-D (#57)
|
data/lib/reverse_markdown.rb
CHANGED
@@ -41,10 +41,10 @@ module ReverseMarkdown
|
|
41
41
|
|
42
42
|
root or return ''
|
43
43
|
|
44
|
-
|
45
|
-
ReverseMarkdown::Converters.lookup(root.name).convert(root)
|
44
|
+
config.with(options) do
|
45
|
+
result = ReverseMarkdown::Converters.lookup(root.name).convert(root)
|
46
|
+
cleaner.tidy(result)
|
46
47
|
end
|
47
|
-
cleaner.tidy(result)
|
48
48
|
end
|
49
49
|
|
50
50
|
def self.config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reverse_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Opper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -241,4 +241,3 @@ test_files:
|
|
241
241
|
- spec/lib/reverse_markdown/converters_spec.rb
|
242
242
|
- spec/lib/reverse_markdown_spec.rb
|
243
243
|
- spec/spec_helper.rb
|
244
|
-
has_rdoc:
|