Skip to content
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

HTML compatibility with TextForElement() function #13

Open
frankcortes opened this issue Oct 22, 2012 · 2 comments
Open

HTML compatibility with TextForElement() function #13

frankcortes opened this issue Oct 22, 2012 · 2 comments

Comments

@frankcortes
Copy link

Why can't I obtain the string "more text" with TextForElement() function?

<div> 
<a href="/url/1">
<strong>value</strong>
</a>
more text
</div>
@MikeWeller
Copy link

This seems to be a ridiculous bug. In my case I have:

<p>Text here<br/>More text here</p>

There doesn't seem to be any way to get the second line of text. It's completely dropped by the parser unless I'm making some huge mistake.

@IvanChan
Copy link

IvanChan commented Jan 4, 2017

It's ridiculous that parentNode can NOT have text.

123 will be ignored

<p><strong>hello</strong>123</p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants