-
Type:
Improvement
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.2.1
-
Fix Version/s: None
-
Component/s: JavaScript / AJAX
-
Labels:
Please add the following line to remove all html elements in "theSelection":
theSelection = theSelection.replace(/<[^>]*>/ig, '');
(please add it on line 207)
The reason is that you have a big problem if you use a javascript library which will replace your links.
In my case does a meta network rewrite my links.
The function doesn't work correctly anymore (you have html in the quoted message) because html are automatically inserted (all links will be rewritten -> also in the hidden message_element).