FIX: OpenLayers silently ignores textnode which exceed 4096 characters

This patch fixes #995