Many Minor Fixes
Fixed a whole bunch of minor stuff. Had a go at getting some of the plethora of broken tests to pass.
This commit is contained in:
parent
0ddd422059
commit
2da672ec5b
13 changed files with 108 additions and 84 deletions
|
@ -27,6 +27,8 @@ module HTML5lib
|
|||
|
||||
handle_end %w( address blockquote center div dl fieldset listing menu ol pre ul ) => 'Block'
|
||||
|
||||
handle_end HEADING_ELEMENTS => 'Heading'
|
||||
|
||||
handle_end %w( a b big em font i nobr s small strike strong tt u ) => 'Formatting'
|
||||
|
||||
handle_end %w( head frameset select optgroup option table caption colgroup col thead tfoot tbody tr td th ) => 'Misplaced'
|
||||
|
|
|
@ -78,7 +78,7 @@ module HTML5lib
|
|||
|
||||
class Element < Node
|
||||
def to_s
|
||||
"<%s>" % name
|
||||
"<#{name}>"
|
||||
end
|
||||
|
||||
def printTree indent=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue