-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting root tag text after included tags #46
Comments
Interesting find. Thanks for creating this issue. I'm fairly busy at the moment, so I'll try to get to this in the next few days. Could you give some examples of what you'd like the result to be? |
I think it can be array of texts. And if we have more text and children, for example: I think it will be great solution. |
Hi There Jack, are you still maintaining this? Its an extremely useful utility. I have hit the same snag as KSerjyk - in that when a P has some EMs or STRONGS the surrounding text in the paragraph is ignored. For example this text
is rendered like this:
So much of the stuff is lost. I would want it to be rendered like this:
the logic being that if the P tag has children the loose text nodes that surround them are presented as children with no tag - or maybe a span |
Thanks for re-reporting this! I haven't touched this for a while, but I can try find some time soon to try address this. I'm thinking of adding another config option to configure this behaviour, as not to break existing users. Please bump this issue again if I don't get back to you again soon. |
Hi Jack, if i was going to look at the source to have a look at this issue - where would be a good place to start? |
@JackWFinlay , recently I came across this utility and I must say that it is really very helpful. |
Will push a new version ( |
See here for details, and also see that the examples have also been updated. Latest version is now on NuGet, but may take a little while to become visible to others :) |
Doesnt parse or returns text after children tags in parent tag.
Example of html:
Pursing result:
And it also trims all start and end spaces in tags. So the text can not be set to one object, cause spaces gone
The text was updated successfully, but these errors were encountered: