From 57d757d195f73c836bb15fc1cd1d01fa0dcc75b1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 13 May 2007 10:40:24 +0200 Subject: distinction between apostrophes and single quotes FS#1127 This patch adds another parser mode for apostrophes. Now single quote closing markers are handled different from apostrophes for better local typograpy support. Needs testing and languages updates. darcs-hash:20070513084024-7ad00-d20fe093a093c265d357b178e199c1596b484996.gz --- inc/parser/handler.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc/parser/handler.php') diff --git a/inc/parser/handler.php b/inc/parser/handler.php index d8e6c79ea..0a021987f 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -407,6 +407,11 @@ class Doku_Handler { return true; } + function apostrophe($match, $state, $pos) { + $this->_addCall('apostrophe',array(), $pos); + return true; + } + function doublequoteopening($match, $state, $pos) { $this->_addCall('doublequoteopening',array(), $pos); return true; -- cgit v1.2.3