caboose-cms 0.4.123 → 0.4.124
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/blocks_controller.rb +2 -2
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTQzMWJkNGEzY2NkYWI4NTFhZmRiZjFmNTdlMGFjNDAzZjY5OWZlMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmM5MDQxMjNmMWFiMTE1MGIzMGMwMzRiYTI3MmEwOTU2NTkwYzM0Yg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzVkYzE5MzY5YmZhNzdhZmZmMDAzZjFkNDE0MDc1MjgxNzFjYzRmYzJlOTRk
|
10
|
+
ZWVmNjc4NDQzNTRhOTZiOTM0Zjk1NjhmYWM4MjllZjNlMDJkNDE4MGI0ZDlh
|
11
|
+
NmE0YjVkMzgxNTNmMDc1YmMxMmMyMzUyYjQzOTFkMWQ3OWI1YWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTJlOGRmOGEwMWFhZDk0OTM5ZGE5ZTQ3ODdhOTBlZjBmYzZlZGRhNTM2ZGVk
|
14
|
+
ZTIwOTA2NWFhZjM4MGRlZTdmNThhZjU5MWZmY2Y0OTUyN2ZiNmZlNTc3ZjUx
|
15
|
+
YmRlZTcwM2I5Zjc3NTUyZDdhNjUwOTNjMWRjODkwZTcxOTg2MTU=
|
@@ -270,8 +270,8 @@ module Caboose
|
|
270
270
|
if b.block_type.is_global
|
271
271
|
b.value = v
|
272
272
|
b.update_global_value(v, @site.id)
|
273
|
-
else
|
274
|
-
if
|
273
|
+
else
|
274
|
+
if Caboose::parse_richtext_blocks == true && b.block_type.field_type == 'richtext' && (b.name.nil? || b.name.strip.length == 0) && (b.block_type.name != 'richtext2')
|
275
275
|
b = RichTextBlockParser.parse(b, v, request.host_with_port)
|
276
276
|
else
|
277
277
|
b.value = v
|
data/lib/caboose/version.rb
CHANGED