port NPW fix to core
This commit is contained in:
parent
5eaea4046c
commit
d2a17d4d36
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
|
||||
final String langSelected = lng;
|
||||
String content = amenity.getDescription(langSelected);
|
||||
vl = Html.fromHtml(content).toString();
|
||||
vl = (content != null) ? Html.fromHtml(content).toString() : "";
|
||||
if (vl.length() > 300) {
|
||||
vl = vl.substring(0, 300);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue