Fix for text following empty tags