aboutsummaryrefslogtreecommitdiff
path: root/html/elispmarkup.php3
diff options
context:
space:
mode:
authorDavid Aspinall2002-09-11 14:50:02 +0000
committerDavid Aspinall2002-09-11 14:50:02 +0000
commit680f5d4c3c524f7ab693ffd794b1075e15a780d1 (patch)
treefc62f53ad738eb7d23c559619b4ee01cd3daa45a /html/elispmarkup.php3
parentd044757ef7f2fbd5be074eb5f57809f1c7632133 (diff)
Tweak html markup
Diffstat (limited to 'html/elispmarkup.php3')
-rw-r--r--html/elispmarkup.php32
1 files changed, 1 insertions, 1 deletions
diff --git a/html/elispmarkup.php3 b/html/elispmarkup.php3
index f8602af1..e2b47367 100644
--- a/html/elispmarkup.php3
+++ b/html/elispmarkup.php3
@@ -55,7 +55,7 @@ function outline_markup($filename,$thispage,$expanded) {
// HTML escapes
$line = htmlentities($line);
// Anchors for URLs
- $line = ereg_replace("((http://|mailto:)[-a-zA-Z0-9\.~/_@]+)","<a href=\"\\1\">\\1</a>",$line);
+ $line = ereg_replace("((http://|mailto:)[^ \n\t]+)","<a href=\"\\1\">\\1</a>",$line);
// Assume a heading
$multipar=false;
if (ereg("-\*- (mode:)?outline -\*-",$line)) {