Bug 416962

Summary: Unparsed HTML tags in Android notifications
Product: [Applications] kdeconnect Reporter: bart.sen
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: minor CC: bart.sen
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 8.x   
See Also: https://bugs.kde.org/show_bug.cgi?id=420221
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The notirication from the Android app

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.