summaryrefslogtreecommitdiff
path: root/inc/parser/metadata.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/metadata.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/metadata.php')
-rw-r--r--inc/parser/metadata.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php
index 85e6eefed..846bbff23 100644
--- a/inc/parser/metadata.php
+++ b/inc/parser/metadata.php
@@ -255,6 +255,11 @@ class Doku_Renderer_metadata extends Doku_Renderer {
if ($this->capture) $this->doc .= $lang['singlequoteclosing'];
}
+ function apostrophe() {
+ global $lang;
+ $this->doc .= $lang['apostrophe'];
+ }
+
function doublequoteopening(){
global $lang;
if ($this->capture) $this->doc .= $lang['doublequoteopening'];