title: TensorFlow: tf.summary.text and linebreaks
body: <p>How do you use tf.summary.text to emit text that contains linebreaks?</p>
  
  <p>I have tried replacing <code>'\n'</code> with <code>&lt;br&gt;</code> but I cannot get the output to show proper linebreaks. Without proper linebreaks makes it very hard to read yaml output as shown here:</p>
  
  <p><a href="https://i.stack.imgur.com/Takw9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Takw9.png" alt="enter image description here"></a></p>