Skip to content
Snippets Groups Projects
Commit e77ea1bc authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix for broken $conf['typography']

darcs-hash:20060125211620-7ad00-aecd98eba9a237f3314281c0924c1eab99dbe589.gz
parent 172a9574
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalents.
"He thought 'It's a man's world'..."
</code>
Please note: These conversions can be turned off in the config file.
Please note: These conversions can be turned off through a [[doku>wiki:config#typography|config option]] and a [[doku>wiki:entities|pattern file]].
===== Quoting =====
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment