booklab-sml 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/booklab/sml/rules/base.rb +1 -1
- data/lib/booklab/sml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b86d03cfc11d2caf668548847505864ecc75cf34794eb350d94993ce0247ed15
|
4
|
+
data.tar.gz: 3e0b1000676077654b03e72783d8bd8512860c314e22456c1bff7f3301210f84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6405417fd04e637d08cb24aab6e63a78907f3b2ffce03aa148bd8ef39769883af0c5f26fb429247781fa14078bdcc0e17eb925f75586d64818daf5d3229b76b3
|
7
|
+
data.tar.gz: 60ea3f321079a9a56031b315aabe0de8fc026da84bb422d6646ee0d6ea79af12c11fffb0bd6c60afc23aa29e9009897da2fd3e039556c06e66fbd44e04c7cd22
|
@@ -40,7 +40,7 @@ module BookLab::SML::Rules
|
|
40
40
|
if attrs[:indent].is_a?(Hash)
|
41
41
|
# text-indent
|
42
42
|
text_indent = attrs.dig(:indent, :firstline)
|
43
|
-
style["text-indent"] = "#{4 * INDENT_PX}px" if text_indent
|
43
|
+
style["text-indent"] = "#{4 * INDENT_PX}px" if text_indent && text_indent > 0
|
44
44
|
|
45
45
|
# padding-left
|
46
46
|
indent_left = attrs.dig(:indent, :left)
|
data/lib/booklab/sml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: booklab-sml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|