IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

bug(parser): handle cells populated only by newline characters #2193

Open chrismclarke opened 6 months ago

chrismclarke commented 6 months ago

Content synced from google sheets can sometimes contain only newline characters. This is likely a mistake, and should be replaced with empty strings instead.

The default parser already has a cleanFieldValues method currently used to remove additional whitespace, so might be the place to add a check/replacement.

Originally posted by @chrismclarke in https://github.com/IDEMSInternational/parenting-app-ui/issues/2187#issuecomment-1919657779