Indefero

Indefero Commit Details


Date:2011-12-05 19:18:59 (13 years 16 days ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:a1c8a4943045765a2a317682be3192e9a6aa7c15
Parents: 3f0c7c23d2907fa3ed90659c7c62c8f8d0df5d5b
Message:text/plain was missing

Changes:

File differences

src/IDF/Wiki/ResourceRevision.php
282282
283283
284284
285
285
286286
287287
288288
return sprintf('<img src="%s" alt="%s" />', $url, $resource->title);
}
if (preg_match('#^text/(xml|html|sgml|javascript|ecmascript|css)$#', $resource->mime_type)) {
if (preg_match('#^text/(plain|xml|html|sgml|javascript|ecmascript|css)$#', $resource->mime_type)) {
return sprintf('<iframe src="%s" alt="%s"></iframe>', $url, $resource->title);
}

Archive Download the corresponding diff file

Page rendered in 0.08330s using 13 queries.