diff options
author | andi <andi@splitbrain.org> | 2005-04-10 19:01:15 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-10 19:01:15 +0200 |
commit | 4de671bc5e749ac76ad85252df59feb45c749eab (patch) | |
tree | b653219d0ec0b296640ba7b3c742ee989639ae78 /inc/parser/parser.php | |
parent | 2f40443a6ca5a5ddca04b94e4ffc4562c76753c3 (diff) | |
download | rpg-4de671bc5e749ac76ad85252df59feb45c749eab.tar.gz rpg-4de671bc5e749ac76ad85252df59feb45c749eab.tar.bz2 |
new parser - more fixes
darcs-hash:20050410170115-9977f-620a5fccdc80d5af01d0b9aec9f8b1fb8e4c667d.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r-- | inc/parser/parser.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 2091b2c65..25da10f9b 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -565,7 +565,7 @@ class Doku_Parser_Mode_Wordblock extends Doku_Parser_Mode { //------------------------------------------------------------------- /** -* @TODO Quotes and 640x480 are note supported - just straight replacements here +* @TODO Quotes and 640x480 are not supported - just straight replacements here */ class Doku_Parser_Mode_Entity extends Doku_Parser_Mode { // A list @@ -615,10 +615,10 @@ class Doku_Parser_Mode_Quotes extends Doku_Parser_Mode { '(?<=\s)\'(?=\S)',$mode,'singlequoteopening' ); $this->Lexer->addSpecialPattern( - '(?<=\S)\'',$mode,'singlequoteclosing' + '(?<=^|\S)\'',$mode,'singlequoteclosing' ); $this->Lexer->addSpecialPattern( - '(?<=\s)"(?=\S)',$mode,'doublequoteopening' + '(?<=^|\s)"(?=\S)',$mode,'doublequoteopening' ); $this->Lexer->addSpecialPattern( '(?<=\S)"',$mode,'doublequoteclosing' |