added text formatting with default fallback