# File lib/html5/html5parser/in_head_phase.rb, line 128 def appendToHead(element) if @tree.head_pointer.nil? assert @parser.inner_html @tree.open_elements.last.appendChild(element) else @tree.head_pointer.appendChild(element) end end