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
<!DOCTYPE html>
<html>
<head>
<style>.highlight {
background-color: yellow
}</style>
<script type="text/javascript" src="/jquery/jquery.js"></script>
</head>
<body>
<p>
<span>Look:</span>
<span>This is some text in a paragraph.</span>
<span>This is a note about it.</span>
</p>
<p>
<span>Look:</span>
<span>This is some text in a paragraph.</span>
<span>This is a note about it.</span>
</p>
<p>
<span>Look:</span>
<span>This is some text in a paragraph.</span>
<span>This is a note about it.</span>
</p>
</body>
</html>
html("p span:last").text()
# 'This is a note about it. This is a note about it. This is a note about it.'
html("span:last").text()
# 'This is a note about it.'
why the behavior of pyquery is different with jquery ?
pyquery version: 1.2.17
The text was updated successfully, but these errors were encountered:
html code here:
jquery
code
result:
This is a note about it.
code:
a same rsult
This is a note about it.
pyquery
code:
why the behavior of pyquery is different with jquery ?
pyquery version: 1.2.17
The text was updated successfully, but these errors were encountered: