N°2742 - HTML files preview are now raw text only

This commit is contained in:
Stephen Abello
2020-02-06 14:27:13 +01:00
parent de78963b30
commit 44894526f1

View File

@@ -3217,7 +3217,6 @@ EOF
$data = $oDoc->GetData();
switch ($oDoc->GetMimeType())
{
case 'text/html':
case 'text/xml':
$oPage->add("<iframe id='preview_$sAttCode' src=\"".utils::GetAbsoluteUrlAppRoot()."pages/ajax.render.php?operation=display_document&class=$sClass&id=$Id&field=$sAttCode\" width=\"100%\" height=\"400\">Loading...</iframe>\n");
break;