wysihtml-rails 0.5.0 → 0.5.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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b94233ba0df90edb3f3d7be49cffac2af98c886
|
|
4
|
+
data.tar.gz: bdbdd01f05311262cdf42f443159e38be7cf9630
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 193c1f3fd743e30643a974e93aad3321460b889a262ce75dee28ed32b8b51d4fd4bb54d004bc3a9d2c0a1805485beeae104e178059f690ec73a568596457e836
|
|
7
|
+
data.tar.gz: ea14ffb5949e3b4ec8b8d3b8d4f0489cf73a340a35c4240133a7b477051f8f9c6c882c30e7c57d0faff9f1f18ae4f6918b6180945c8be83848146ab4da459cdc
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license wysihtml v0.5.
|
|
2
|
+
* @license wysihtml v0.5.1
|
|
3
3
|
* https://github.com/Voog/wysihtml
|
|
4
4
|
*
|
|
5
5
|
* Author: Christopher Blum (https://github.com/tiff)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
var wysihtml5 = {
|
|
13
|
-
version: "0.5.
|
|
13
|
+
version: "0.5.1",
|
|
14
14
|
|
|
15
15
|
// namespaces
|
|
16
16
|
commands: {},
|
|
@@ -9164,7 +9164,9 @@ wysihtml5.dom.parse = function(elementOrHtml_current, config_current) {
|
|
|
9164
9164
|
attributes["class"] = oldNode.getAttribute("class");
|
|
9165
9165
|
}
|
|
9166
9166
|
} else {
|
|
9167
|
-
|
|
9167
|
+
if(classes && classes.length > 0) {
|
|
9168
|
+
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
|
|
9169
|
+
}
|
|
9168
9170
|
}
|
|
9169
9171
|
} else {
|
|
9170
9172
|
// make sure that wysihtml5 temp class doesn't get stripped out
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license wysihtml v0.5.
|
|
2
|
+
* @license wysihtml v0.5.1
|
|
3
3
|
* https://github.com/Voog/wysihtml
|
|
4
4
|
*
|
|
5
5
|
* Author: Christopher Blum (https://github.com/tiff)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
var wysihtml5 = {
|
|
13
|
-
version: "0.5.
|
|
13
|
+
version: "0.5.1",
|
|
14
14
|
|
|
15
15
|
// namespaces
|
|
16
16
|
commands: {},
|
|
@@ -9164,7 +9164,9 @@ wysihtml5.dom.parse = function(elementOrHtml_current, config_current) {
|
|
|
9164
9164
|
attributes["class"] = oldNode.getAttribute("class");
|
|
9165
9165
|
}
|
|
9166
9166
|
} else {
|
|
9167
|
-
|
|
9167
|
+
if(classes && classes.length > 0) {
|
|
9168
|
+
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
|
|
9169
|
+
}
|
|
9168
9170
|
}
|
|
9169
9171
|
} else {
|
|
9170
9172
|
// make sure that wysihtml5 temp class doesn't get stripped out
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wysihtml-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tanel Jakobsoo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|