vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.1 vs vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.4
- old
+ new
@@ -250,15 +250,15 @@
"figcaption": {
"unwrap": 1
},
"a": {
"check_attributes": {
- "href": "href" // if you compiled master manually then change this from 'url' to 'href'
+ "href": "href", // if you compiled master manually then change this from 'url' to 'href'
+ "target": "any"
},
"set_attributes": {
- "rel": "nofollow",
- "target": "_blank"
+ "rel": "nofollow"
}
},
"img": {
"one_of_type": {
"valid_image_src": 1
@@ -647,6 +647,6 @@
},
"header": {
"rename_tag": "div"
}
}
-};
+};
\ No newline at end of file