Skip to content

Commit

Permalink
Really fix #104.
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Nov 1, 2017
1 parent 3b5e6e1 commit 8672f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contactform/controllers/ContactFormController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public function actionSendMessage()

if (empty($message->htmlMessage))
{
$htmlMessage = HtmlHelper::encode($message->message);
$message->htmlMessage = StringHelper::parseMarkdown($message->message);
$htmlMessage = HtmlHelper::encode($message->message);
$message->htmlMessage = StringHelper::parseMarkdown($htmlMessage);
}

// Validate!
Expand Down

0 comments on commit 8672f12

Please sign in to comment.