Fixes issue with parsing whitespace content back from database - fixes #13907