Mark reply text as markdown after publishing the reply.

Review Request #5416 — Created Feb. 6, 2014 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Mark reply text as markdown after publishing the reply.

When writing a reply to a review, the comment would properly appear
as Markdown, until it was published. It would then suddenly appear as
plain text. This happened because we rebuilt the reply element, but
never called formatText on it.

Now, if there's text provided when building the element, we call
formatText on it.

Replied to a comment with some Markdown text and hit Publish. It appeared
as rendered Markdown.

JS unit tests pass.