# File lib/html/tags.rb, line 77 def can_contain(tag, parent) return ((parent.downcase == 'p' \ or Tag.named(parent).is_inline_element) \ and ! Tag.named(tag).is_block_element) end