4

According to this documentation, Pango is able to handle some convenience tags like <b> for bold, or <i> for italic.

However, there's nothing for line break, like the commonly used <br>. Is there a way to make Pango able to handle line break?

Stack Danny
  • 7,754
  • 2
  • 26
  • 55
Pastel
  • 41
  • 4

1 Answers1

7

Through some guesswork and trial and error, I've discovered that carriage return (\r), not newline (\n), will cause pango to insert a break.

Drone2537
  • 71
  • 1
  • 2