html representation of current nodes:: >>> html = PyQuery( ... ' <![[CDATA[ ]> ', parser='html_fragments') >>> print(html.__html__()) <![[CDATA[ ]>
(self)
| 361 | for e in self]) |
| 362 | |
| 363 | def __html__(self): |
| 364 | """html representation of current nodes:: |
| 365 | |
| 366 | >>> html = PyQuery( |
| 367 | ... '<script><![[CDATA[ ]></script>', parser='html_fragments') |
| 368 | >>> print(html.__html__()) |
| 369 | <script><![[CDATA[ ]></script> |
| 370 | |
| 371 | """ |
| 372 | return u''.join([lxml.html.tostring(e, encoding=str) |
| 373 | for e in self]) |
| 374 | |
| 375 | def __repr__(self): |
| 376 | r = [] |