Skip to content

Commit

Permalink
[fix] quickfix: deliver .html as text/html because of xml validation/…
Browse files Browse the repository at this point in the history
…ampersand issues
  • Loading branch information
haschek committed Jul 10, 2011
1 parent c460227 commit 81adc15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foafpressapp/core/Foafpress.config.php
Expand Up @@ -37,11 +37,11 @@
'text/turtle' => '.tt',
/*'text/n3' => '.n3',*/
'text/plain' => '.nt',
'application/xhtml+xml' => '.html',
'text/html' => '.html', // application/xhtml+xml
'application/rss+xml' => '.rss'
);

$c['typefallback'] = 'application/xhtml+xml';
$c['typefallback'] = 'text/html'; // application/xhtml+xml

$c['extensiontoexport'] = true;

Expand Down

0 comments on commit 81adc15

Please sign in to comment.