samsol38 / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

wrapAll mess up #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. having <dom><myFirstElement><mySecondElement/></myFirstElement></dom>
2. <php>$myDOM->children()->wrapAll('<div/>');</php>
3.

What is the expected output? What do you see instead?
Should give me
<dom>div><myFirstElement><mySecondElement/></myFirstElement></div></dom>.
Instead of it give me <dom>div><myFirstElement/><mySecondElement/></div></dom>

What version of the product are you using? On what operating system?
r232

Please provide any additional information below.
I use a complexe example than in this issue but can't copy/paste it ;).

Original issue reported on code.google.com by nicolas....@gmail.com on 21 Oct 2008 at 10:10

GoogleCodeExporter commented 9 years ago
Problem was with children(). Fixed in r247.

Original comment by tobiasz....@gmail.com on 21 Oct 2008 at 10:24