'Scenario: Text outside of tags is preserved
Given I have opened a new course in Studio
And I go to the course updates page
When I add a new update with the text "before <strong>middle</strong> after"
Then I should see the update "before <strong>middle</strong> after"
And when I reload the page
Then I should see the update "before <strong>middle</strong> after"'

def test_outside_tag_preserved(self):

    self._create_and_verify_update('before    <strong>middle</strong>    after')
    self.course_updates_page.visit()
    self.assertTrue(self.course_updates_page.is_first_update_message('before    <strong>middle</strong>    after'))
