ordars_rails_editor 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fbf145086f8e6b153689793f57f6bcf299a1088b5cfafc10d1ca11ce0768fa7
4
- data.tar.gz: e637103d4e12538c591029ebe39ad8721f3b6ba52658ccd0859cf6b86ea78ff5
3
+ metadata.gz: fc3c66c719d679166157bd98ec37ba4cc1d0f1ccb48f8bcdf26db8e80bf594d3
4
+ data.tar.gz: 29ba4d427881a0c9dc76a80f8e27d403ebef688cec81f612d302f0700644e6fe
5
5
  SHA512:
6
- metadata.gz: 9f8790e29a6543e7c25a0a78f1dfc890809f4f6f5c43d8442e69cca722681250b73aa68fcd69d691104a342ee950f160cb3fb2a3716abe88b3f2e9f1612bcde1
7
- data.tar.gz: 435fde6dd8843bea2001ac1c9b6f49d8f8a08398cf67526829fd33f39283a68518003eb805cfb4467a7b5e3161e0df58c6f00bd53ffa50ab17ef5d6fa61aac96
6
+ metadata.gz: 65b4b56708ee64328e05c9232cd23a915804a4c282b47332c4741a25ba094a9beaaadf174800e12240ca276d40b5033b6e008f201ecdac25026f6d97e584490f
7
+ data.tar.gz: 63ef18f75cb695c9884b0acbbd50124e1e59ba581f926ad2ebcc4e81a481f7b89198ab7f4c50bee7b7382e5d38b0393c3ceba0122b4f5a78f575df9025a6c9fb
@@ -10,8 +10,10 @@ module OrdarsRailsEditor
10
10
  #
11
11
  # style 속성은 통째 허용하지 않고 «속성 단위»로 거른다(color/background-color/font-size/text-align).
12
12
  module Sanitizer
13
- ALLOWED_TAGS = %w[p br strong b em i s del u code pre blockquote ul ol li h1 h2 h3 hr a img span].freeze
14
- ALLOWED_ATTRIBUTES = %w[href target rel src alt width height style data-file-id].freeze
13
+ # ⚠에디터 서식과 «한 쌍» mark=형광펜(Highlight), data-color=Highlight 속성(0.1.1 에서 누락 실사고:
14
+ # 형광펜 적용 글이 저장 조용히 벗겨짐).
15
+ ALLOWED_TAGS = %w[p br strong b em i s del u code pre blockquote ul ol li h1 h2 h3 hr a img span mark].freeze
16
+ ALLOWED_ATTRIBUTES = %w[href target rel src alt width height style data-file-id data-color].freeze
15
17
  ALLOWED_STYLE_PROPS = %w[color background-color font-size text-align].freeze
16
18
  ALLOWED_URI_SCHEMES = %w[http https mailto tel].freeze
17
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OrdarsRailsEditor
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ordars_rails_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - reshacs