brian-j 4 роки тому
батько
коміт
1741808e53

+ 4 - 4
client/components/main/editor.js

@@ -275,10 +275,10 @@ function mySafeAttrValue(tag, name, value, cssFilter) {
     if (/^thunderlink:/ig.test(value) || /^cbthunderlink:/ig.test(value) || /^aodroplink:/ig.test(value)) {
       return value;
     }
-		else {
-    	// use the default safeAttrValue function to process all non cbthunderlinks
-    	return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);
-  	}
+    else {
+      // use the default safeAttrValue function to process all non cbthunderlinks
+      return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);
+    }
   } else {
     // use the default safeAttrValue function to process it
     return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);

+ 4 - 4
packages/markdown/src/template-integration.js

@@ -16,10 +16,10 @@ function mySafeAttrValue(tag, name, value, cssFilter) {
     if (/^thunderlink:/ig.test(value) || /^cbthunderlink:/ig.test(value) || /^aodroplink:/ig.test(value)) {
       return value;
     }
-		else {
-    	// use the default safeAttrValue function to process all non cbthunderlinks
-    	return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);
-  	}
+    else {
+      // use the default safeAttrValue function to process all non cbthunderlinks
+      return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);
+    }
   } else {
     // use the default safeAttrValue function to process it
     return sanitizeXss.safeAttrValue(tag, name, value, cssFilter);