Skip to content

Commit

Permalink
Clean up syntax and avoid empty values
Browse files Browse the repository at this point in the history
  • Loading branch information
icc committed Nov 6, 2017
1 parent b418d24 commit 5919b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed.php
Expand Up @@ -9,7 +9,7 @@
<?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
<link rel="stylesheet" href="<?php print $styles[$i]; ?>">
<?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>
<body>
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>
Expand Down

0 comments on commit 5919b64

Please sign in to comment.