Fix behavior of content_tag when use with content that is not a string
Fix test case for content_tag

exclude cases that would not be used
Merge pull request #1563 from tyabe/fix_content_tag

Fix behavior of content_tag when use with content that is not a string