summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-05-13 10:40:24 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-05-13 10:40:24 +0200
commit57d757d195f73c836bb15fc1cd1d01fa0dcc75b1 (patch)
tree352ac377c2f568e7e9e1229d81733a95011d753c /inc/parser/handler.php
parentd613051ae9b5db0528293dbe6d918df6dbd7dc4e (diff)
downloadrpg-57d757d195f73c836bb15fc1cd1d01fa0dcc75b1.tar.gz
rpg-57d757d195f73c836bb15fc1cd1d01fa0dcc75b1.tar.bz2
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
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php5
1 files changed, 5 insertions, 0 deletions
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;