Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Jul 20, 2011
1 parent 97567d8 commit 546b408
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Expand Up @@ -27,6 +27,26 @@ Into:
<p>Apples, bananas and&nbsp;oranges.</p>
```

### Comparison to other utilities

Other similar utilities include:

* [jQWidont](http://davecardwell.co.uk/javascript/jquery/plugins/jquery-widont/jqwidont-uncompressed.js)
* [Widow Fix](http://plugins.jquery.com/project/widowfix)
* [Widont for WordPress](http://www.shauninman.com/archive/2007/01/03/widont_2_1_wordpress_plugin).

As of time of writing, *Unorphan* works better than these because:

* It does not mangle HTML at all (it operates on text nodes), you can be sure that your HTML
tags will always be intact.

* It does not rewrite `innerHTML`, causing your elements to unneededly reinitialize, and possibly
losing events and data in the elements.

* It's extremely small. (400 bytes)

* It does the manipulation on the client side, making no impact to your in-page SEO efforts.

### Acknowledgements

Original idea and implementation by [Shawn
Expand Down

0 comments on commit 546b408

Please sign in to comment.