Index: trunk/extensions/CodeReview/ui/CodeView.php |
— | — | @@ -57,8 +57,7 @@ |
58 | 58 | |
59 | 59 | function formatMessage( $text ) { |
60 | 60 | $text = nl2br( htmlspecialchars( $text ) ); |
61 | | - return Html::rawElement( 'div', array( 'class' => 'mw-codereview-message' ), |
62 | | - $this->codeCommentLinkerHtml->link( $text ) ); |
| 61 | + return $this->codeCommentLinkerHtml->link( $text ); |
63 | 62 | } |
64 | 63 | |
65 | 64 | function messageFragment( $value ) { |
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -123,7 +123,8 @@ |
124 | 124 | 'code-rev-author' => $this->authorLink( $this->mRev->getAuthor() ), |
125 | 125 | 'code-rev-status' => $this->statusForm() . $commentsLink, |
126 | 126 | 'code-rev-tags' => $this->tagForm(), |
127 | | - 'code-rev-message' => $this->formatMessage( $this->mRev->getMessage() ), |
| 127 | + 'code-rev-message' => Html::rawElement( 'div', array( 'class' => 'mw-codereview-message' ), |
| 128 | + $this->formatMessage( $this->mRev->getMessage() ) ), |
128 | 129 | 'code-rev-paths' => $paths, |
129 | 130 | ); |
130 | 131 | $special = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/' . $this->mRev->getId() ); |