summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-06-13 19:38:17 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-06-13 19:38:17 +0200
commitf43b6d3ab4d4788c8b5babddfcb2c53f5cfeb443 (patch)
tree4d701d29cebf5df73703e7cdbe0510b16de364aa /inc/parser/parser.php
parentba36e50e218d376617ba001263d7fa7728717209 (diff)
downloadrpg-f43b6d3ab4d4788c8b5babddfcb2c53f5cfeb443.tar.gz
rpg-f43b6d3ab4d4788c8b5babddfcb2c53f5cfeb443.tar.bz2
some small improvement for smart quote parsing FS#1142
darcs-hash:20070613173817-7ad00-99fdc0bf868bff124ef7c5ec01ef3f58c51b36eb.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index 577e1137c..ee6a8beae 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -758,8 +758,8 @@ class Doku_Parser_Mode_multiplyentity extends Doku_Parser_Mode {
class Doku_Parser_Mode_quotes extends Doku_Parser_Mode {
function connectTo($mode) {
- $ws = '[\s/\#~:\.?+=&%@!\-;,\x28\x29\]\[{}><"\']'; // whitespace
- $nws = '[^\s/\#~:\.?+=&%@!\-;,\x28\x29\]\[{}><"\']'; // non whitespace
+ $ws = '[\s/\#~:+=&%@\-;,\x28\x29\]\[{}><"\']'; // whitespace
+ $nws = '[^\s/\#~:+=&%@\-;,\x28\x29\]\[{}><"\']'; // non whitespace
$this->Lexer->addSpecialPattern(
"(?<=^|$ws)'(?=$nws)",$mode,'singlequoteopening'