Skip to content

Commit

Permalink
Merge pull request #257 from Automattic/fix/escaping-oembeds
Browse files Browse the repository at this point in the history
Remove escaping so we don't break oEmbeds. Fixes #250
  • Loading branch information
philipjohn authored Sep 2, 2016
2 parents 613719f + a7d2670 commit 068a428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/liveblog-single-entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span class="liveblog-meta-time"><a href="#liveblog-entry-<?php echo absint( $entry_id ); ?>" class="liveblog-time-update"><span class="date"><?php echo esc_html( $entry_date ); ?></span><span class="time"><?php echo esc_html( $entry_time ); ?></span></a></span>
</header>
<div class="liveblog-entry-text" data-original-content="<?php echo esc_attr( $original_content ); ?>">
<?php echo wp_kses( $content, $allowed_tags_for_entry ); ?>
<?php echo $content; ?>
</div>
<?php if ( $is_liveblog_editable ): ?>
<ul class="liveblog-entry-actions">
Expand Down

0 comments on commit 068a428

Please sign in to comment.