Skip to content

Commit

Permalink
Merge pull request #265 from Automattic/fix-contenteditable-div-break…
Browse files Browse the repository at this point in the history
…ing-oembed-on-preview-and-update

Fix the oEmbeddable links wrapped in div also on preview and update
  • Loading branch information
philipjohn committed Sep 13, 2016
2 parents d369b7e + 6920b45 commit e50c8da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/class-wpcom-liveblog-entry-extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public static function load() {
add_filter( 'liveblog_before_insert_entry', array( __CLASS__, 'strip_input' ), 1 );
add_filter( 'liveblog_before_update_entry', array( __CLASS__, 'strip_input' ), 1 );
add_filter( 'liveblog_before_insert_entry', array( __CLASS__, 'fix_links_wrapped_in_div' ), 1 );
add_filter( 'liveblog_before_update_entry', array( __CLASS__, 'fix_links_wrapped_in_div' ), 1 );
add_filter( 'liveblog_before_preview_entry', array( __CLASS__, 'fix_links_wrapped_in_div' ), 1 );

// Allow the features to be seperated in multiple ways: via spaces,
// pipes or commas. This line explodes via spaces and pipes then
Expand Down

0 comments on commit e50c8da

Please sign in to comment.