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
committed by Eric
parent 4b7f736af0
commit 6edc365685

View File

@@ -2966,7 +2966,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;