This file is indexed.

/usr/share/doc/libhtml-tree-perl/TODO is in libhtml-tree-perl 5.03-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
TO-DO LIST FOR HTML::Tree

* Make more and better tests!  Regression and otherwise.

    './Build testcover' for the coverage details

* Make as_HTML emit the DOCTYPE declaration before <html...>

* Maybe reorganize the HTMLE::Element docs some time?



========================================================================

RT's

14212 	HTML::TreeBuilder generates text nodes in a strange encoding

	MOVE This is a bug in HTML::Entities, line 479, is encoding the Chinese
        characters. Adding the following code reveals this:

print(STDERR "1: ref = $$ref\n");
	$$ref =~ s/([^\n\r\t !\#\$%\(-;=?-~])/$char2entity{$1} || num_entity($1)/ge;
print(STDERR "2: ref = $$ref\n");

1: ref = This is a test 漢語
2: ref = This is a test &aelig;&frac14;&cent;&egrave;&ordf;&#158;

19724 	Can't distinguish among ending tags

	TRIAGE Where in the parser are the tokens handled? Suspect he'd have to use HTML::Parser directly.

24407 	</p> w/o a previous <p> ends the treebuild...

	TRIAGE Invalid HTML breaks parse.

26938 	as_XML doesn't encode enough characters, specifically CR and LF

	TRIAGE Perfectly valid to drop white space in an attibute.

27288 	as_HTML() for frameset html code produces implicit <body> tag

	CLOSE body is valid there. Needs to turn off implicit tags if he doesn't want them.

28404 	tests fail when PERL_UNICODE is set

	TRIAGE

33063 	Feature request: suppress output of implicit elements by as_HTML

	TRIAGE

33523 	Incorrect parsing of nested inline elements

	CLOSE It's invalid to nest entities that way.

33961 	Allow optional_end_tags to be set globally

	CLOSE This is already possible.

35948 	Unhelpful message if I pass an arbitrary object in content.

	TRIAGE Suggest fix breaks sub classing, need a better fix.

37537 	Implementation of as_HTML makes it effectively impossible to subclass

	TRIAGE

38398 	TreeBuilder can broke tree with correct nesting

	TRIAGE invalid HTML breaks parsing.

41945 	cpan(1) install fails on OS X

	Maybe FIXED, #! line was odd.

42209 	The word "value" appears if you supply value => undef to an input of type "text"

	TRIAGE This is because of the line '$val = $attr unless defined $val;'
	Guess this is to catch attributes that don't have values?

45069 	test failure

	TRIAGE Can't duplicate.

46219 	Debugger dies on parse()

	TRIAGE Can't duplicate.

48344 	Documentation for tree/element traversal is conflicting/confusing

	TRIAGE

53658 	HTML::Element::as_text collapses internal whitespace

	TRIAGE The white space is being consolidated somewhere, HTML::Parser?,
        so there is only 1 space by output time.

53926 	Bug in HTML::TreeBuilder - <link> inside <ol> not parsed

	TRIAGE Invalid HTML breaks parsing.