Handle ampersands in messages correctly, fixes #43
This commit is contained in:
parent
9eb396c9ca
commit
873c9b2669
2 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,7 @@ TRANSLATIONS += translations/harbour-fernschreiber-de.ts \
|
|||
translations/harbour-fernschreiber-zh_CN.ts
|
||||
|
||||
# Use armv7hl for most devices and i486 for emulator and Jolla Tablet. Can most certainly be automated... ;)
|
||||
TARGET_ARCHITECTURE = i486
|
||||
TARGET_ARCHITECTURE = armv7hl
|
||||
|
||||
INCLUDEPATH += $$PWD/tdlib/include
|
||||
DEPENDPATH += $$PWD/tdlib/include
|
||||
|
|
|
@ -124,6 +124,7 @@ function enhanceMessageText(formattedText) {
|
|||
var messageText = formattedText.text;
|
||||
messageText = messageText.replace("<", "<");
|
||||
messageText = messageText.replace(">", ">");
|
||||
messageText = messageText.replace("&", "&");
|
||||
var messageInsertions = [];
|
||||
|
||||
for (var i = 0; i < formattedText.entities.length; i++) {
|
||||
|
|
Loading…
Reference in a new issue