Subject: | Minor typo in documentation for TreeBuilder |
There is a minor typo in the documentation for HTML::TreeBuilder in the section describing the guts() method. Attached is a patch to fix the typo ("@notes" should be "@nodes").
Thanks for your work on this distribution, it has proven quite useful for several different projects.
diff -ur HTML-Tree-3.19_03.orig/lib/HTML/TreeBuilder.pm HTML-Tree-3.19_03/lib/HTML/TreeBuilder.pm
--- HTML-Tree-3.19_03.orig/lib/HTML/TreeBuilder.pm 2005-11-25 22:55:52.000000000 -0500
+++ HTML-Tree-3.19_03/lib/HTML/TreeBuilder.pm 2005-12-18 21:02:20.662106888 -0500
@@ -1599,7 +1599,7 @@
<li>I like pie!
Then you would get that with C<< @nodes = $root->guts(); >>.
-It so happens that in this case, @notes will contain just one
+It so happens that in this case, @nodes will contain just one
element object, representing the "li" node (with "I like pie!" being
its text child node). However, consider if you were parsing this: