New to Kendo UI for Angular? Start a free 30-day trial
flattenNestedSpans
Flattens nested elements in the given HTML string while preserving the original styling and formatting.
Parameters
content
string
The HTML content to normalize.
Returns
string
The normalized HTML content with flattened elements.