summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-07-01 15:40:40 +0200
committerandi <andi@splitbrain.org>2005-07-01 15:40:40 +0200
commitad65ae46fa4561dfb79f264d2914f09d3883608e (patch)
tree931b469524767fd144c3b1213e761535b72ccc4d /inc/parser/parser.php
parente180595fe57a2a9b8c1e016c5650e7cb88cc9873 (diff)
downloadrpg-ad65ae46fa4561dfb79f264d2914f09d3883608e.tar.gz
rpg-ad65ae46fa4561dfb79f264d2914f09d3883608e.tar.bz2
hack to fix #384
This isn't a real fix for FS#384 but cures the symptoms at least. The emphasis regexp now doesn't take the double slash of auto-URLs as closing match anymore. darcs-hash:20050701134040-9977f-5130eaea0ebcb43918e48e823fcfbbf628d88981.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index d91b817ff..0af0a7108 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -321,7 +321,7 @@ class Doku_Parser_Mode_formatting extends Doku_Parser_Mode {
),
'emphasis'=> array (
- 'entry'=>'//(?=.*//)',
+ 'entry'=>'//(?=.*(?<!http:|ftp:)//)', //hack for bug #384
'exit'=>'//',
'sort'=>80
),