Using html_safe on article.content was the wrong approach. I made a mistake. I replaced it with the original method I used last year that adds paragraphs to the article's content.