summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/forum_post_send.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/forum_post_send.php b/src/forum_post_send.php
index 96cd009..9d9ff33 100644
--- a/src/forum_post_send.php
+++ b/src/forum_post_send.php
@@ -60,8 +60,11 @@ function send_post_to_lists($config, $user, $mode, $data, $post_data) {
$sender = 'forum-bridge@vassalengine.org';
- $subject = '[' . $post_data['forum_name'] . '] '
- . $post_data['post_subject'];
+ $subject = html_entity_decode(
+ '[' . $post_data['forum_name'] . '] ' . $post_data['post_subject'],
+ ENT_QUOTES
+ );
+
if (!is_ascii($subject)) {
$subject = utf8_quote($subject);
}