Escape forward slashes in hook_update_n() descriptions for display on update.php I've created a module update function:

/**
 * Create alias for node/add/video-submission.
 */
function my_module_update_7103()
{
  // magic
}


But on update.php the message shows up without the forward slashes:


  7103 - Create alias for nodeaddvideo-submission.


What can I do to force the forward slashes to display?
Given that line 1161 of includes/update.inc is this:

$description = str_replace(array("\n", '*', '/'), '', $func-&gt;getDocComment());


(replaces new lines, asterisks and forward slashes in the doxygen comment with blank strings, everything else is considered to be the update description)

I'd say you have two options:


Use an HTML entity:

/**
 * Create alias for node&amp;#47;add&amp;#47;video-submission.
 */

Patch the offending line with something like:

$description = str_replace(array("\n", '/*', '*/', '*'), '', $func-&gt;getDocComment());