Bug 416962 - Unparsed HTML tags in Android notifications
Summary: Unparsed HTML tags in Android notifications
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 8.x
: NOR minor
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-30 20:29 UTC by bart.sen
Modified: 2021-04-12 08:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The notirication from the Android app (23.85 KB, image/jpeg)
2020-01-30 20:29 UTC, bart.sen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bart.sen 2020-01-30 20:29:32 UTC
Created attachment 125555 [details]
The notirication from the Android app

SUMMARY
The Android notifications originating from Ubuntu (18.04) contain HTML tags (like <b>). Example: "Laptop battery low. Only <b>25 minutes</b> left."

STEPS TO REPRODUCE
1. Install KDE Connect on Ubuntu 18.04
2. Pair with an Android phone and hit the checkbox "Send notifications" in the KDE Settings panel on the laptop.
3. Wait until the laptop battery drops to a certain point, wait for any program to send notifications containing bold/italic/underlined text, or manually send a notification on your laptop with HTML tags in it.

OBSERVED RESULT
The notifications on the laptop are showed with bold text as intended, but the notification on the phone contains the tags in plain text.

EXPECTED RESULT
The HTML tags are also parsed on the Android device and make the text bold, or, if this is not possible, at least no tags should be visible.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04 LTS
KDE Connect (on Ubuntu): "kcmshell5" 5.12.8
Android: 8.0.0
KDE Connect (on Android): 1.13.7

ADDITIONAL INFORMATION
This bug might be considered a duplicate from an older bug about the same issue.  (https://bugs.kde.org/show_bug.cgi?id=358549)
However, after updating the app, the problem was still there.