-
-
Notifications
You must be signed in to change notification settings - Fork 710
Closed
Description
CURRENT html output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional
.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Image selection</title> </head> <body
> <iframe src="image_selection.php?type=P&id=17551&imgid=edit_product_image" height="300" width
="500" frameborder="0" scrolling="no" id="image_selection_iframe"></iframe> </body> </html>
EXPECTED html output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional .dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Image selection</title> </head> <body> <iframe src="image_selection.php?type=P&id=17551&imgid=edit_product_image" height="300" width ="500" frameborder="0" scrolling="no" id="image_selection_iframe"></iframe> </body> </html>
As you can see there is a newline symbol after '<body' and '>'
Template to display
{*
$Id$
vim: set ts=2 sw=2 sts=2 et:
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$lng.lbl_image_selection}</title>
</head>
<body>
<!-- MAIN -->
<iframe src="image_selection.php?type={$type}&id={$id}&imgid={$imgid}" height="300" width="500" frameborder="0" scrolling="no" id="image_selection_iframe"></iframe>
<!-- /MAIN -->
</body>
</html>
Firefox/Chrome does not call iframe source in case broken body tag.
Metadata
Metadata
Assignees
Labels
No labels