|
Previous Page |
Solar_Markdown_Plugin_Uri |
Next Page |
_parseEmail()
Support callback for parsing email addresses.
Parameters
- (array)
$matches: Matches from preg_replace_callback().
Returns
- (string) An obfuscated mailto anchor.
Description
Support callback for parsing email addresses.
From the original notes ...
Input: an email address, for example "foo@example.com"
Output: the email address as a mailto link, with each character of the address encoded as either a decimal or hex entity, in the hopes of foiling most address harvesting spam bots. For example:
<a href="mailto:foo@e xample.com">foo @example.com</a>Based by a filter by Matthew Wickline, posted to the BBEdit-Talk mailing list: http://tinyurl.com/yu7ue
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _encode()
- _escape()
- _exception()
- _getTabWidth()
- _isHtmlToken()
- _obfuscateEmail()
- _outdent()
- _parse()
- _parseEmail()
- _processBlocks()
- _processSpans()
- _toHtmlToken()
- _unHtmlToken()
- apiVersion()
- cleanup()
- dump()
- getChars()
- isBlock()
- isCleanup()
- isPrepare()
- isSpan()
- locale()
- parse()
- prepare()
- reset()
- setMarkdown()