diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-06-13 20:40:15 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-06-13 20:40:15 +0200 |
commit | 9426a41aa622ea7c282f451c3274f167307f428d (patch) | |
tree | 085ec4bfe9710396b7a4c88d01a383a0ebfe06fb /conf/dokuwiki.php | |
parent | f43b6d3ab4d4788c8b5babddfcb2c53f5cfeb443 (diff) | |
download | rpg-9426a41aa622ea7c282f451c3274f167307f428d.tar.gz rpg-9426a41aa622ea7c282f451c3274f167307f428d.tar.bz2 |
make typography option three staged FS#1142
Because correct smart quote parsing with regular expressions is nearly
impossible, especially when dealing with quote usage in languages different
from english, the typography configuration option was changed.
0 means to completely disable any typography replacements
1 will only handle the multiply entitity and double quotes, this should
nearly always work without problems and is the new default
2 will add singlequote parsing. This might break because single quotes and
apostrophes are not always easily distinguishable. Especially in languages
where single quote openings and apostrophes are different characters you
might experience problems. For english it should nearly always work.
darcs-hash:20070613184015-7ad00-0cebc3f807f54467d54458075c5c9f651355c5ba.gz
Diffstat (limited to 'conf/dokuwiki.php')
-rw-r--r-- | conf/dokuwiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index d0ad4f4f7..71a61f733 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -30,7 +30,7 @@ $conf['fullpath'] = 0; //show full path of the document or re $conf['recent'] = 20; //how many entries to show in recent $conf['breadcrumbs'] = 10; //how many recent visited pages to show $conf['youarehere'] = 0; //show "You are here" navigation? 0|1 -$conf['typography'] = 1; //convert quotes, dashes and stuff to typographic equivalents? 0|1 +$conf['typography'] = 1; //smartquote conversion 0=off, 1=doublequotes, 2=all quotes $conf['htmlok'] = 0; //may raw HTML be embedded? This may break layout and XHTML validity 0|1 $conf['phpok'] = 0; //may PHP code be embedded? Never do this on the internet! 0|1 $conf['dformat'] = 'Y/m/d H:i'; //dateformat accepted by PHPs date() function |