diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-05-13 10:40:24 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-05-13 10:40:24 +0200 |
commit | 57d757d195f73c836bb15fc1cd1d01fa0dcc75b1 (patch) | |
tree | 352ac377c2f568e7e9e1229d81733a95011d753c /inc/parser/xhtml.php | |
parent | d613051ae9b5db0528293dbe6d918df6dbd7dc4e (diff) | |
download | rpg-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/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index fad6f6120..438410651 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -455,6 +455,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $this->doc .= $lang['singlequoteclosing']; } + function apostrophe() { + global $lang; + $this->doc .= $lang['singlequoteclosing']; + } + function doublequoteopening() { global $lang; $this->doc .= $lang['doublequoteopening']; |