marksmith 0.0.10 → 0.0.11

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: 193c81e84d2038d0008789be16f079c0e71a874d40a2d92dc79ef6c31325fd4b
4
- data.tar.gz: 8b0ee90a5b595712f8e61faa2f35ce50d962df9872cf36705d96315b3b29eac5
3
+ metadata.gz: 5eb26aeaa24188df02fdfaa2f3eccaecc28feac32420ff31e34328359b7939c8
4
+ data.tar.gz: e5ae028f87a6c7bceeea0ac89269e320422d1466dd3b3de17d1c7dade9c49b0d
5
5
  SHA512:
6
- metadata.gz: 86342b9e8ba64a3f5a55eeac8a5a8f0148f3af00d712ee8ffaa1ed0d835743b9cc4f3d67c7f76b7dd2d12062f8681408c66d4213dce5eaa43c440680a3164af7
7
- data.tar.gz: 3e634ebc04720f365256687780479b2fd3d37ff7ff306ea0bfe9dfc8be564b6e3f9b877cd9cbc9d0065ee70ac30ad035b8f1213cba8da4a0a56d7e5df571161d
6
+ metadata.gz: 578c3ed2d9ee8c3d58499f5c08edd8b469166f45f98c7b746912a95c04e780b5c310610ec6b83330253e924706827e9c6ae633fadd2f9e7347b2d1f084f0f017
7
+ data.tar.gz: 9c4f92ce4997de77e065a9906994dbb4eb611f79648fa4acefcf61f83a02dded7c6a9b9203815f72dbedfb824ad38c9824f79004641133a1352554db5263d5e1
@@ -1,6 +1,6 @@
1
1
  <%= turbo_stream.update params[:element_id] do %>
2
2
  <div class="ms:px-3 ms:py-2">
3
- <%= render "marksmith/shared/rendered_body", body: @body %>
3
+ <%= render partial: "marksmith/shared/rendered_body", locals: { body: @body } %>
4
4
  </div>
5
5
  <% end %>
6
6
 
@@ -1,3 +1,3 @@
1
1
  <%= content_tag :div, class: "ms:prose ms:prose-zinc" do %>
2
- <%= sanitize(@body, tags: %w(table th tr td span) + ActionView::Helpers::SanitizeHelper.sanitizer_vendor.safe_list_sanitizer.allowed_tags.to_a) %>
2
+ <%= sanitize(body, tags: %w(table th tr td span) + ActionView::Helpers::SanitizeHelper.sanitizer_vendor.safe_list_sanitizer.allowed_tags.to_a) %>
3
3
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module Marksmith
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marksmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin