Merge branch 'master' of github.com:remy/mit-license

This commit is contained in:
Remy Sharp 2011-10-19 17:13:58 +01:00
commit 330da58d14

View file

@ -74,6 +74,7 @@
if ($format == 'txt') {
$license = array_shift(explode('</article>', array_pop(explode('<article>', $license))));
$license = preg_replace('/<[^>]*>/', '', trim($license));
$license = html_entity_decode($license);
header('content-type: text/plain');
}