Page MenuHomePhabricator

D14710.id35578.diff
No OneTemporary

D14710.id35578.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -464,6 +464,8 @@
'phutil_split_lines' => 'utils/utils.php',
'phutil_tag' => 'markup/render.php',
'phutil_tag_div' => 'markup/render.php',
+ 'phutil_tag_em' => 'markup/render.php',
+ 'phutil_tag_strong' => 'markup/render.php',
'phutil_unescape_uri_path_component' => 'markup/render.php',
'phutil_units' => 'utils/utils.php',
'phutil_utf8_console_strlen' => 'utils/utf8.php',
diff --git a/src/markup/render.php b/src/markup/render.php
--- a/src/markup/render.php
+++ b/src/markup/render.php
@@ -126,6 +126,14 @@
return phutil_tag('div', array('class' => $class), $content);
}
+function phutil_tag_em($content) {
+ return phutil_tag('em', array(), $content);
+}
+
+function phutil_tag_strong($content) {
+ return phutil_tag('strong', array(), $content);
+}
+
function phutil_escape_html($string) {
if ($string instanceof PhutilSafeHTML) {
return $string;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 7:01 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6746675
Default Alt Text
D14710.id35578.diff (1 KB)

Event Timeline