reverse_markdown 1.2.0 → 1.3.0
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8263de44d8eac3a94972aea1e17323f1c51a44055a2953a4fa4ba2202585aeee
|
4
|
+
data.tar.gz: 8f21ecda53dd5edfc9e5faaebf8105bb98033c43a1480dd4d56b885602933bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b05f33ea93fb3c751534166c1e8fe4baefd3dfa3d9546db1b8535a4e70ed9f25a92fafac167640ef10e6ed44a0cf5b0366dac9ce6d6a9d64ffe8d7642d8f3d1f
|
7
|
+
data.tar.gz: 0b37d09c0949a521c3ae7c09a27283165fbab621ab87377fb1b5f8b532d171abf6bb0d221dc810da3ffb2c34b2afe922463dadcf097a0810473781c0664f7978
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## 1.3.0 - September 2019
|
5
|
+
- Add support for `s` HTML tag, thanks @fauno
|
6
|
+
|
4
7
|
## 1.2.0 - August 2019
|
5
8
|
- Handle windows `\r\n` within text blocks, thanks for reporting @krisdigital
|
6
9
|
- Handle paragraphs in `li` tags, thanks @gstamp
|
@@ -11,6 +11,11 @@ describe ReverseMarkdown::Converters::Del do
|
|
11
11
|
expect(converter.convert(input)).to eq '~~deldeldel~~'
|
12
12
|
end
|
13
13
|
|
14
|
+
it 'converts the input as expected' do
|
15
|
+
input = node_for('<s>strike that</s>')
|
16
|
+
expect(converter.convert(input)).to eq '~~strike that~~'
|
17
|
+
end
|
18
|
+
|
14
19
|
it 'skips empty tags' do
|
15
20
|
input = node_for('<del></del>')
|
16
21
|
expect(converter.convert(input)).to eq ''
|
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Opper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|