Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F80938
D7545.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
418 B
Referenced Files
None
Subscribers
None
D7545.diff
View Options
diff --git a/src/markup/render.php b/src/markup/render.php
--- a/src/markup/render.php
+++ b/src/markup/render.php
@@ -70,6 +70,13 @@
/**
* @group markup
*/
+function phutil_tag_div($class, $content = null) {
+ return phutil_tag('div', array('class' => $class), $content);
+}
+
+/**
+ * @group markup
+ */
function phutil_escape_html($string) {
if ($string instanceof PhutilSafeHTML) {
return $string;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/yy/5u/qopk62ho2hyixe34
Default Alt Text
D7545.diff (418 B)
Attached To
Mode
D7545: Provide helper function for <div class="%s">%s</div>
Attached
Detach File
Event Timeline
Log In to Comment