Allow ­ in messages
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Tue, 16 Feb 2016 14:02:03 +0000 (15:02 +0100)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Wed, 17 Feb 2016 11:45:36 +0000 (12:45 +0100)
Bug: T127062
Change-Id: I8b89d8fd6f688a2fa60f3bd92e4cea6909ed267f

includes/cache/MessageCache.php

index 97552a7..b058d1f 100644 (file)
@@ -790,11 +790,13 @@ class MessageCache {
                                        # Fix for NBSP, converted to space by firefox
                                        '&nbsp;',
                                        '&#160;',
+                                       '&shy;'
                                ],
                                [
                                        ' ',
                                        "\xc2\xa0",
-                                       "\xc2\xa0"
+                                       "\xc2\xa0",
+                                       "\xc2\xad"
                                ],
                                $message
                        );