diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-01-25 22:16:20 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-01-25 22:16:20 +0100 |
commit | e77ea1bc9d5f596e8f8916d108e05be855161320 (patch) | |
tree | 9ca1ce12c78e877b3148b0679caef849039c82b3 /inc/parserutils.php | |
parent | 172a95742731f0bb87bdc2e7c5ef8b4120c5f427 (diff) | |
download | rpg-e77ea1bc9d5f596e8f8916d108e05be855161320.tar.gz rpg-e77ea1bc9d5f596e8f8916d108e05be855161320.tar.bz2 |
fix for broken $conf['typography']
darcs-hash:20060125211620-7ad00-aecd98eba9a237f3314281c0924c1eab99dbe589.gz
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r-- | inc/parserutils.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php index 0a476b998..daeb94f50 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -275,9 +275,12 @@ function p_get_parsermodes(){ $std_modes = array('listblock','preformatted','notoc','nocache', 'header','table','linebreak','footnote','hr', 'unformatted','php','html','code','file','quote', - 'multiplyentity','quotes','internallink','rss', - 'media','externallink','emaillink','windowssharelink', - 'eol'); + 'internallink','rss','media','externallink', + 'emaillink','windowssharelink','eol'); + if($conf['typography']){ + $std_modes[] = 'quotes'; + $std_modes[] = 'multiplyentity'; + } foreach($std_modes as $m){ $class = "Doku_Parser_Mode_$m"; $obj = new $class(); |