Commit Graph

6 Commits (398f6ad748e94b0dc960e7be61485516c87fecb9)

Author SHA1 Message Date
Mariusz Osiecki bf9e7404fa Failure if best_elem is root (fix #58) 9 years ago
Yuri Baburov dc648e7d0b Added a test for issue #48 but can't reproduce it -- seems to work fine. 9 years ago
Yuri Baburov 1fac7e685a Added a feature to allow more images per article (with a test) 9 years ago
Richard Harding 46f0302ebc rename the document_only flag to html_partial 12 years ago
Richard Harding 5a98e2c1b8 Correct appending and allow for document only
- Fix the appending of siblings to the correct nested element
- Add a document only flag so that you can get a dom tree you can nest
yourself without html/body tags.
12 years ago
Richard Harding edccec5d3b Work on why we have an empty <body/> tag
- Seems to come because the sanitizer ends up with two nodes, not one. The
first is an empty body, the second is the article div.
- Fix up the tabs so we can work with the file. Needs lots of pep8 love.
- Implement an initial hack that at least gets it working atm.
- Start to add test cases, sample html files we can test against, etc.
12 years ago