Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1169990
D194.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 27, 12:02 AM
Size
486 B
Mime Type
text/x-diff
Expires
Sun, Sep 28, 12:02 AM (18 h, 50 m)
Engine
blob
Format
Raw Data
Handle
758104
Attached To
D194: INP-1530 - The "Image" tag must set DataExists flag for Template Parser
D194.diff
View Options
Index: branches/5.2.x/core/units/images/image_tag_processor.php
===================================================================
--- branches/5.2.x/core/units/images/image_tag_processor.php
+++ branches/5.2.x/core/units/images/image_tag_processor.php
@@ -462,6 +462,8 @@
// TODO: consider escaping in template instead
$params['alt'] = kUtil::escape($params['alt']);
+ $this->Application->Parser->DataExists = true;
+
return $this->Application->ParseBlock($params);
}
Event Timeline
Log In to Comment