Clean up syntax and avoid empty values

pull/43/head
Frode Petterson 2017-11-06 09:59:46 +01:00
parent b418d24c29
commit 5919b64c2a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?> <?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
<link rel="stylesheet" href="<?php print $styles[$i]; ?>"> <link rel="stylesheet" href="<?php print $styles[$i]; ?>">
<?php endfor; ?> <?php endfor; ?>
<?php if (isset($additional_embed_head_tags)) { print implode("\n", $additional_embed_head_tags); } ?> <?php if (!empty($additional_embed_head_tags)): print implode("\n", $additional_embed_head_tags); endif; ?>
</head> </head>
<body> <body>
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div> <div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>