#2220: Encode email "mailto:" links
---------------------------+------------------------------------------------
Reporter: asuter | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.3
Component: UI : Dialogs | Version: FCKeditor 2.6
Resolution: | Keywords: Confirmed HasPatch Review-
---------------------------+------------------------------------------------
Comment (by asuter):
The following has been done
1. There was missing a g-modifier in the regular expression that replaces
those ###SINGLE_QUOTE### placeholders. Therefore, only the first one has
been replaced. Fixed.
2. Of course, this is much shorter. Fixed.
3. I have implemented this code part by using the split function (Fixed).
So far, it is only possible to set one email address. But maybe in a
future version it should be possible to let the user enter more than one
email address, separated by a comma. This may be an important note!
4. Right. I have just replaced the code block with what you have
suggested, changed the undefined variable adress into address :-), and
surrounded the "mailto;" and the params part by escaped single quotes
instead of double quotes as the parser would look for [[BR]]
{{{javascript:location.href='mailto;'}}} [[BR]] and not [[BR]]
{{{javascript:location.href="mailto;"}}} [[BR]] (with : instead of ; - I
had to write ; as otherwise Wiki would have transformed the text into a
mail-link).
That's it. Hope, everything is working now. Let me know if there are still
some bugs.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2220#comment:12>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac