Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13994688
D14983.id36193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
737 B
Referenced Files
None
Subscribers
None
D14983.id36193.diff
View Options
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;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 24, 7:49 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715488
Default Alt Text
D14983.id36193.diff (737 B)
Attached To
Mode
D14983: Don't drop "phabricator-remarkup-embed-image" class from Remarkup images with `width` or `height`
Attached
Detach File
Event Timeline
Log In to Comment