mato 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mato/html_filters/task_list.rb +1 -1
- data/lib/mato/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59902decca423364fc185eef127151622e9348e7ce4ed5a90bab8ca1d44dfbf3
|
4
|
+
data.tar.gz: bd618687101adb2f9f9e1d6a4ac5a25baafa44018fa7bff2869e19703ec0375d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25752490aeb9a2a7d7926a8037dac4138836b5c2582dbe3894e5761566cc9c60c15e14f9ed70a457d78dc96346961d9d795c188671c7055bfc612d596c5163a3
|
7
|
+
data.tar.gz: 8eb1dd626ad5147fb8e1d0050a3650a1207860227cc4f88a79220a87a68f8040e9bf0c5be890b5af248fe5542b2c55b04b06c1357e098cfab1cb409903c48559
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# The revision history of Mato
|
2
2
|
|
3
|
+
## v2.3.1 - 2020/07/15
|
4
|
+
|
5
|
+
* Allow loose task list. [#24](https://github.com/bitjourney/mato/pull/24)
|
6
|
+
|
3
7
|
## v2.3.0 - 2020/06/16
|
4
8
|
|
5
9
|
* Add `convert_empty_task_list` option to TaskList filter to convert task list event if the text is empty. [#23](https://github.com/bitjourney/mato/pull/23)
|
@@ -26,7 +26,7 @@ module Mato
|
|
26
26
|
|
27
27
|
# @param [Nokogiri::XML::Node] li
|
28
28
|
def weave(li)
|
29
|
-
text_node = li.xpath('.//text()').first
|
29
|
+
text_node = li.xpath('./p[1]/text()').first || li.xpath('.//text()').first
|
30
30
|
checked = has_checked_mark?(text_node)
|
31
31
|
unchecked = has_unchecked_mark?(text_node)
|
32
32
|
|
data/lib/mato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FUJI Goro
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commonmarker
|
@@ -98,7 +98,7 @@ metadata:
|
|
98
98
|
source_code_uri: https://github.com/bitjourney/mato
|
99
99
|
changelog_uri: https://github.com/bitjourney/mato/blob/master/CHANGELOG.md
|
100
100
|
bug_tracker_uri: https://github.com/bitjourney/mato/issues
|
101
|
-
post_install_message:
|
101
|
+
post_install_message:
|
102
102
|
rdoc_options: []
|
103
103
|
require_paths:
|
104
104
|
- lib
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubygems_version: 3.2.0.pre1
|
117
|
-
signing_key:
|
117
|
+
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: MArkdown TOolkit
|
120
120
|
test_files: []
|