From 4de671bc5e749ac76ad85252df59feb45c749eab Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 10 Apr 2005 19:01:15 +0200 Subject: new parser - more fixes darcs-hash:20050410170115-9977f-620a5fccdc80d5af01d0b9aec9f8b1fb8e4c667d.gz --- inc/parser/parser.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/parser/parser.php') 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' -- cgit v1.2.3