irb(main):046:0> s="asdasd&&&<>".html_safe
=> "asdasd&&&<>"
irb(main):047:0> s.html_safe?
=> true
irb(main):048:0> s.byteslice(8).html_safe?
=> nil