-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
let element:HTMLElement = HTMLElement(tagName: "div")
element.innerHTML = "Line<br/>Breaks"
print("\(element.textContent)")output:
LineBreaks
desired:
Line\nBreaks
At leas this is how NSAttributedString's initWithHTML works. Anything I need to do to get this to work properly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels