add licence info
This commit is contained in:
parent
82882a2e25
commit
f37ea5229e
|
@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. The format
|
|||
- find config.php automatically in current and parent directories. Show error message if not found.
|
||||
- use local CSS/JS instead of CDN
|
||||
- detect missing imap extension and config error
|
||||
- refactoring to simplify routing
|
||||
|
||||
### Removed
|
||||
- JSON API (json-api.php), this feature would better fit in a separate project.
|
||||
|
||||
## [0.2.1] - 2018-07-01
|
||||
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
<?php
|
||||
|
||||
class AutoLinkExtension {
|
||||
static public function auto_link_text(string $string) {
|
||||
/**
|
||||
* Adapted from https://plugins.trac.wordpress.org/browser/sem-external-links/trunk/sem-autolink-uri.php
|
||||
* which is MIT/GPL licenced.
|
||||
* Author: Denis de Bernardy & Mike Koepke
|
||||
* Author URI: https://www.semiologic.com
|
||||
*/
|
||||
class AutoLinkExtension
|
||||
{
|
||||
static public function auto_link_text(string $string)
|
||||
{
|
||||
|
||||
$string = preg_replace_callback("/
|
||||
((?<![\"']) # don't look inside quotes
|
||||
|
|
Loading…
Reference in New Issue
Block a user