prose_mirror_ruby 0.1.4 → 0.1.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bd3d5176428f8648e9f72340961d8e1f0a6f472b5b28eae5261beda3e8e88ca
|
4
|
+
data.tar.gz: 889d47708ec461ad7950a7a90d814e682c31591e3d10b5f22f673b92728b6868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0199944ab0a9eb4866b14e29dcb92ff8bddcb50084371b084949f8daa6a82a4deb6bd548338539a312b44d8136ce9606f6a4241d3c62d20b0b4be2d0d565f27
|
7
|
+
data.tar.gz: 82269ba9c324e22efb205d6b45aa263c4ee97cf324e9cfa0271c33b90a4bb73b591f3dad920eca89c6b6ad37156cd6bccf7e89fabae820a5c8ab3c2ae5476953
|
@@ -228,6 +228,13 @@ module ProseMirror
|
|
228
228
|
expel_enclosing_whitespace: false
|
229
229
|
},
|
230
230
|
|
231
|
+
inline_thread: {
|
232
|
+
open: "",
|
233
|
+
close: "",
|
234
|
+
mixable: true,
|
235
|
+
expel_enclosing_whitespace: false
|
236
|
+
},
|
237
|
+
|
231
238
|
strong: {
|
232
239
|
open: "**",
|
233
240
|
close: "**",
|
@@ -631,7 +638,7 @@ module ProseMirror
|
|
631
638
|
str = str.gsub(/[`*\\~\[\]_]/) { |m| "\\" + m }
|
632
639
|
if start_of_line
|
633
640
|
str = str.gsub(/^[#\-*+>]/) { |m| "\\" + m }
|
634
|
-
.gsub(/^(\d+)\./) { |
|
641
|
+
.gsub(/^(\d+)\./) { |match, d| d.to_s + "\\." }
|
635
642
|
end
|
636
643
|
str.gsub("![", "\\![")
|
637
644
|
end
|
data/lib/prose_mirror/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prose_mirror_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Ross
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|