+++ b/core/modules/node/src/Controller/NodeController.php
@@ -182,18 +182,37 ...

Contribution Date
Technology
Contribution Project
Contribution Details
+++ b/core/modules/node/src/Controller/NodeController.php @@ -182,18 +182,37 @@ public function revisionOverview(NodeInterface $node) { + '!date' => $node->link($this->dateFormatter->format($revision->revision_timestamp->value, 'short')), + '!username' => drupal_render($username), + '!revision-log' => ($revision->revision_log->value != '') ? '<p class="revision-log">' . Xss::filter($revision->revision_log->value) . '</p>' : '', ... + $old_revision_message = $this->t('!date by !username !revision-log', array( + '!date' => $this->l($this->dateFormatter->format($revision->revision_timestamp->value, 'short'), new Url('node.revision_show', array('node' => $node->id(), 'node_revision' => $vid))), + '!username' => drupal_render($username), + '!revision-log' => ($revision->revision_log->value != '') ? '<p class="revision-log">' . Xss::filter($revision->revision_log->value) . '</p>' : '', + ));

This already ensures that the HTML is safe, so I guess #markup will work in this case.

Contribution Author
Files count
0
Patches count
0