wysihtml5x-rails 0.4.0 → 0.4.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: 10e5ed1fe2bb83162d69e930bdfbd0b11c95775d
4
- data.tar.gz: 427ead699edfbd243b6fc541abe08899f7a67911
3
+ metadata.gz: 9424f54d0115eae293ef07ac71d6f548c36dfb00
4
+ data.tar.gz: 7eea79e6d54c46e0cf9eecc395dad8bb44cfa8bb
5
5
  SHA512:
6
- metadata.gz: 160acaadaff4c6f83952d4425532f52caf6e6afd29405952285a43c0b3340daa18dfb0ca3f53e4c294899093aa59f8c77470a56ced622900767d463abebbcb08
7
- data.tar.gz: 1edc09f5c22231f13b9b2a49553f25865a42f667e21fc8560396430740e37fdf50755c54cf9882a53cc96eb977ff1fa32031c3eefed8449f077cc38e3b9a9d8f
6
+ metadata.gz: 69c08bcac2de3d424ff0adc0aeb59ba7cfa04ccd6639ce86e584eb52c30b3affd8a5edd83709a4e75534471665bf573cbae65e66d1b25691098cfeaa2f149a54
7
+ data.tar.gz: 2bee77db9729c1b9cb6191281b1b0ca0bfba2d93d77b6005cfa5165f0a53329c010de56851bf227cf78411e459ae6f22330c47bc587eefff3f7d2e052f992692
@@ -1,5 +1,5 @@
1
1
  module Wysihtml5x
2
2
  module Rails
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
@@ -171,6 +171,7 @@ var wysihtml5ParserRules = {
171
171
  * - href: allows something like "mailto:bert@foo.com", "http://google.com", "/foobar.jpg"
172
172
  * - alt: strips unwanted characters. if the attribute is not set, then it gets set (to ensure valid and compatible HTML)
173
173
  * - numbers: ensures that the attribute only contains numeric characters
174
+ * - any: allows anything to pass
174
175
  */
175
176
  "tags": {
176
177
  "tr": {
@@ -323,7 +324,9 @@ var wysihtml5ParserRules = {
323
324
  "td": {
324
325
  "check_attributes": {
325
326
  "rowspan": "numbers",
326
- "colspan": "numbers"
327
+ "colspan": "numbers",
328
+ "valign": "any",
329
+ "align": "any"
327
330
  },
328
331
  "add_class": {
329
332
  "align": "align_text"
@@ -646,4 +649,4 @@ var wysihtml5ParserRules = {
646
649
  "rename_tag": "div"
647
650
  }
648
651
  }
649
- };
652
+ };