mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Fix an issue
This commit is contained in:
parent
05b1aea7be
commit
4bcb56aa08
@ -175,5 +175,7 @@ Widget smartInputCounterWidgetBuilder(
|
|||||||
|
|
||||||
/// Parse an HTML String to decode special characters
|
/// Parse an HTML String to decode special characters
|
||||||
String htmlDecodeCharacters(String input) {
|
String htmlDecodeCharacters(String input) {
|
||||||
|
if (input == null || input == "") return "";
|
||||||
|
|
||||||
return parse(input).documentElement.text;
|
return parse(input).documentElement.text;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user