I have a large html document, with several images. I want to wrap all the images inside div.wrapped. How would I do this with DOMDocument?
div.wrapped
DOMDocument
I never used DOMdocument before, but I think you mean something like this:
$html = << :( -> :)