From 680f5d4c3c524f7ab693ffd794b1075e15a780d1 Mon Sep 17 00:00:00 2001
From: David Aspinall
Date: Wed, 11 Sep 2002 14:50:02 +0000
Subject: Tweak html markup
---
html/elispmarkup.php3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'html/elispmarkup.php3')
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\.~/_@]+)","\\1",$line);
+ $line = ereg_replace("((http://|mailto:)[^ \n\t]+)","\\1",$line);
// Assume a heading
$multipar=false;
if (ereg("-\*- (mode:)?outline -\*-",$line)) {
--
cgit v1.2.3