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/xhtml.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc/parser/xhtml.php') 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']; -- cgit v1.2.3