diff --git a/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php b/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php --- a/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php +++ b/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php @@ -79,7 +79,7 @@ require_celerity_resource('lightbox-attachment-css'); $attrs = array(); - $image_class = null; + $image_class = 'phabricator-remarkup-embed-image'; $use_size = true; if (!$options['size']) { @@ -117,8 +117,6 @@ $attrs['width'] = $x; $attrs['height'] = $y; } - - $image_class = 'phabricator-remarkup-embed-image'; break; } }