Skip to content

Commit

Permalink
Enhancing RVE parser. See: wpsharks/comment-mail#265
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Nov 4, 2016
1 parent 741af4c commit 495cd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/classes/UtilsRve.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function stripOriginalMessage($rich_text_body)

'\s*'.$regex_original_message_frag.// Leading whitespace.

'.*/'; // Anything else in the original message is stripped away.
'[\S\s]*/'; // Anything else in the original message is stripped away.

return preg_replace($regex_original_message_body, '', $rich_text_body);
}
Expand Down

0 comments on commit 495cd77

Please sign in to comment.