Browse Source

accept any href in text editor link

Joscha Jaeger 10 years ago
parent
commit
75b329ccea
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/allplatforms/libs/wysihtml5/wysihtml5-parser.js

+ 3 - 1
src/allplatforms/libs/wysihtml5/wysihtml5-parser.js

@@ -280,12 +280,14 @@ var wysihtml5ParserRules = {
 		},
 		"a": {
 			"check_attributes": {
-				"href": "href", // if you compiled master manually then change this from 'url' to 'href'
+				"href": "any", // if you compiled master manually then change this from 'url' to 'href'
 				"target": "any"
 			},
+			/*
 			"set_attributes": {
 				"rel": "nofollow"
 			},
+			*/
 			"keep_styles": {
 				"textAlign": 1,
 				"float": 1,