label: fix text rendering with empty markup. closes #883