try html_safe incase of nil content
layout content should be html_safe