I have simple blog app reading remote JSON and displaying infinite load of data with load more option, category selection etc.
Hence JSON is coming from production environment I cannot change it. Some of JSON properties are coming with injected HTML tags from CKEditor. Well, some images too, and similar HTML tags, like video embed etc. What I am trying to do (unless I have JSON restructured and completed as HTML FREE JSON ) is to show results clearing out article property from HTML (code below).
function stripHTML(text) {
var desiredProperty = text.replace(/<.*?>/gm, '')
desiredProperty=desiredProperty.replace(/ /gi,'');
return desiredProperty.replace(/[^\w\s]/gi, '');
}
Issue is that FUSE preview does not fail. However, after build is completed and I load applications some issue happens on real devices. Both iOS and Android would show up blank rectangle (with the full length of content).
Blank rectangle is white in iOS and in black in Android. I wish I can attach screenshots to explain it better.
What is that I am doing wrong and obviously I see an issue in Fuse otherwise preview should fail in Fuse too.