title: New Line Command (\n) Not Working With Firebase Firestore Database Strings
body: <p>I'm making an app with Swift and I'm using Firebase Firestore. Firestore is a database that has some strings that I put into a <code>UILabel</code>. With some of my strings, I am using the new line command (or <code>\n)</code>. So some of my strings look like this:</p>
  <pre><code>&quot;This is line one\nThis is line two\nThis is line three&quot;
  </code></pre>
  <p>But, whenever that string is retrieved, it's addetoto the <code>UILabel</code> and appears like this...</p>
  <p><strong>This is line one\nThis is line two\nThis is line three</strong></p>
  <p>...when it should be like this...</p>
  <p><strong>This is line one</strong></p>
  <p><strong>This is line two</strong></p>
  <p><strong>This is line three</strong></p>
  <p>I'm assuming that <code>\n</code> does not work with strings coming from a database? I've tried double escaping with <code>\\n</code>. Does anyone have a fix for this?</p>
  <p>Here is the code that I am using...</p>
  <pre><code>    database.collection(&quot;songs&quot;).whereField(&quot;storyTitle&quot;, isEqualTo: &quot;This is the story header&quot;).getDocuments { (snapshot, error) in
          
          for document in (snapshot?.documents)! {
              self.storyBodyLabel.text = (document.data()[&quot;storyBody&quot;] as? String)!
     }
  }
  </code></pre>