Skip to content

Commit 6afb1ab

Browse files
authored
Merge pull request #18 from contentstack/feature/json-rte
🎉 Json RTE feature support added
2 parents 9bbc214 + 02ba382 commit 6afb1ab

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ PATH
88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
activesupport (6.1.3.2)
11+
activesupport (6.1.4)
1212
concurrent-ruby (~> 1.0, >= 1.0.2)
1313
i18n (>= 1.6, < 2)
1414
minitest (>= 5.1)
1515
tzinfo (~> 2.0)
1616
zeitwerk (~> 2.3)
17-
addressable (2.7.0)
17+
addressable (2.8.0)
1818
public_suffix (>= 2.0.2, < 5.0)
19-
concurrent-ruby (1.1.8)
20-
contentstack_utils (1.0.1)
19+
concurrent-ruby (1.1.9)
20+
contentstack_utils (1.0.2)
2121
activesupport (>= 3.2, < 6.2)
2222
nokogiri (~> 1.11, >= 1.11.0)
2323
crack (0.4.5)
@@ -29,7 +29,7 @@ GEM
2929
concurrent-ruby (~> 1.0)
3030
mini_portile2 (2.5.3)
3131
minitest (5.14.4)
32-
nokogiri (1.11.6)
32+
nokogiri (1.11.7)
3333
mini_portile2 (~> 2.5.0)
3434
racc (~> 1.4)
3535
public_suffix (4.0.6)

lib/contentstack.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ module Contentstack
2626
def self.render_content(content, options)
2727
ContentstackUtils.render_content(content, options)
2828
end
29+
def self.json_to_html(content, options)
30+
ContentstackUtils.json_to_html(content, options)
31+
end
2932
end

0 commit comments

Comments
 (0)