mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-20 00:35:17 +00:00
Fix an issue
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user