Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions inc/class-tachyon.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ public static function filter_the_content( $content ) {
$src = $src_orig = $lazy_load_src[1];
}

// Image src coming from HTML is expected to be htmlentityencoded.
$src = html_entity_decode( $src );

// Check if image URL should be used with Tachyon.
if ( self::validate_image_url( $src ) ) {
// Find the width and height attributes.
Expand Down