draftjs_html 0.5.0 → 0.5.1
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 +4 -4
- data/lib/draftjs_html/to_html.rb +1 -1
- data/lib/draftjs_html/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9194cbbbe5e94b79dd386efd86e23774128659b74fb40c98ddf43bc9b62fd9a9
|
4
|
+
data.tar.gz: 121e6900da99a52b8a5e0cf5b1cae7206492e979939b214d9ef3a112ebdc471d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e574a85e36eb144f9f5b4e56a766cb3c83385fad293c311627d1ae5974408c8bd5ce39dc6a2081e9d7b9e695ce08dea54ef2050768c1f5660ef478d992e10671
|
7
|
+
data.tar.gz: 0dc0ce686a9d476a93c24e392d02ee7180b4fd556636cce72695562936acb2e5c3dec581c3151e9d8fd3ed32b9aa026d644cb524c2579925479fa8d4f8927e1e
|
data/lib/draftjs_html/to_html.rb
CHANGED
@@ -106,7 +106,7 @@ module DraftjsHtml
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def append_child(nokogiri, child)
|
109
|
-
nokogiri.parent.add_child(DraftjsHtml::Node.of(child).to_nokogiri(@document.
|
109
|
+
nokogiri.parent.add_child(DraftjsHtml::Node.of(child).to_nokogiri(@document.doc))
|
110
110
|
end
|
111
111
|
|
112
112
|
def block_element_for(block)
|
data/lib/draftjs_html/version.rb
CHANGED