Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add support for file:/// URLs in Textile.

Thanks to Maximilian Mehnert.
  • Loading branch information...
commit a85a44dde0c03f2ac0b336318208c30cd85c8111 1 parent 4cc01dc
@remko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classTextile.php
View
2  classTextile.php
@@ -249,7 +249,7 @@ function Textile()
$this->pnct = '[\!"#\$%&\'()\*\+,\-\./:;<=>\?@\[\\\]\^_`{\|}\~]';
$this->urlch = '[\w"$\-_.+!*\'(),";\/?:@=&%#{}|\\^~\[\]`]';
- $this->url_schemes = array('http','https','ftp','mailto');
+ $this->url_schemes = array('http','https','ftp','mailto','file');
$this->btag = array('bq', 'bc', 'notextile', 'pre', 'h[1-6]', 'fn\d+', 'p');
Please sign in to comment.
Something went wrong with that request. Please try again.