| 1 | = 0.4 |
|---|
| 2 | === 11th August, 2006 |
|---|
| 3 | |
|---|
| 4 | * The :fixup_tags option will try to sort out the hierarchy so elements end up with the right parents. |
|---|
| 5 | * Elements such as *script* and *style* (identified as having CDATA contents) receive a single text node as their children now. Previously, Hpricot was parsing out tags found in scripts. |
|---|
| 6 | * Better scanning of partially quoted attributes (found by Brent Beardsly on http://uswebgen.com/) |
|---|
| 7 | * Better scanning of unquoted attributes -- thanks to Aaron Patterson for the test cases! |
|---|
| 8 | * Some tags were being output in the empty tag style, although browsers hated that. FIXED! |
|---|
| 9 | * Added Elements#at for finding single elements. |
|---|
| 10 | * Added Elem::Trav#[] and Elem::Trav#[]= for reading and writing attributes. |
|---|
| 11 | |
|---|
| 12 | = 0.3 |
|---|
| 13 | === 7th July, 2006 |
|---|
| 14 | |
|---|
| 15 | * Fixed negative string size error on empty tokens. (news.bbc.co.uk) |
|---|
| 16 | * Allow the parser to accept just text nodes. (such as: <tt>Hpricot.parse('TEXT')</tt>) |
|---|
| 17 | * from JQuery to Hpricot::Elements: remove, empty, append, prepend, before, after, wrap, set, |
|---|
| 18 | html(...), to_html, to_s. |
|---|
| 19 | * on containers: to_html, replace_child, insert_before, insert_after, innerHTML=. |
|---|
| 20 | * Hpricot(...) is an alias for parse. |
|---|
| 21 | * open up all properties to setters, let people do as they may. |
|---|
| 22 | * use to_html for the full html of a node or set of elements. |
|---|
| 23 | * doctypes were messed. |
|---|
| 24 | |
|---|
| 25 | = 0.2 |
|---|
| 26 | === 4th July, 2006 |
|---|
| 27 | |
|---|
| 28 | * Rewrote the HTree parser to be simpler, more adequate for the common man. Will add encoding back in later. |
|---|
| 29 | |
|---|
| 30 | = 0.1 |
|---|
| 31 | === 3rd July, 2006 |
|---|
| 32 | |
|---|
| 33 | * For whatever reason, wrote this HTML parser in C. |
|---|
| 34 | I guess Ragel is addictive and I want to improve HTree. |
|---|