vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.0 vs vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.1
- old
+ new
@@ -169,10 +169,11 @@
* - url: allows only valid urls (starting with http:// or https://)
* - src: allows something like "/foobar.jpg", "http://google.com", ...
* - href: allows something like "mailto:bert@foo.com", "http://google.com", "/foobar.jpg"
* - alt: strips unwanted characters. if the attribute is not set, then it gets set (to ensure valid and compatible HTML)
* - numbers: ensures that the attribute only contains numeric characters
+ * - any: allows anything to pass
*/
"tags": {
"tr": {
"add_class": {
"align": "align_text"
@@ -321,11 +322,13 @@
},
"li": {},
"td": {
"check_attributes": {
"rowspan": "numbers",
- "colspan": "numbers"
+ "colspan": "numbers",
+ "valign": "any",
+ "align": "any"
},
"add_class": {
"align": "align_text"
}
},
@@ -644,6 +647,6 @@
},
"header": {
"rename_tag": "div"
}
}
-};
\ No newline at end of file
+};