You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have this <food> text before<br /> text after </food>
When I call [ONOXMLElement stringValue], I receive "text before text after"
But I want to receive "text before<br /> text after"
How to deal with this ?
The text was updated successfully, but these errors were encountered:
onmyway133
changed the title
[ONOXMLElement stringValue] ignore the inner element
[ONOXMLElement stringValue] ignores the inner element
Jun 11, 2014
Easiest way for now would be to do a find & replace. XML doesn't have a built-in notion of <br/> being anything in particular, so the current stripping behavior is expected. There are no current plans to add a feature to make this conversion automatically.
Suppose I have this
<food> text before<br /> text after </food>
When I call [ONOXMLElement stringValue], I receive "text before text after"
But I want to receive
"text before<br /> text after"
How to deal with this ?
The text was updated successfully, but these errors were encountered: