html-pipeline-negarmoji 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 213a37f5979e92b48d06df671693a02ba6ea87df6d77db8959c33752bfd093d9
|
4
|
+
data.tar.gz: 88fa3de77bdbb092f2b272c8dcb62d081fce0f3286f302971e2cb6a6c96ae6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c4bf1dc1c6a321b44eac7ab2e18b0b1eb4907baf9d0bdd94923ca45a1dd9e3dfdcb1459c728d022dc6dad8feca1d5bf8c86d878872803e10d4383ae57485e3d
|
7
|
+
data.tar.gz: 6348597c12f092971da8cf3c7f67a3ed7487484b9b91fd26667eb38485ef1568202b08e10b661ae5b864a01c0566d3ce12f2cdf522c901ef88ba1ae6de5ea48e
|
@@ -103,7 +103,7 @@ module HTML
|
|
103
103
|
def emoji_image_tag(name)
|
104
104
|
require "active_support/core_ext/hash/indifferent_access"
|
105
105
|
html_attrs = default_img_attrs(name)
|
106
|
-
|
106
|
+
.merge!((context[:img_attrs] || {}))
|
107
107
|
.map do |attr, value|
|
108
108
|
!value.nil? && %(#{attr}="#{value.respond_to?(:call) && value.call(name) || value}")
|
109
109
|
end
|