print_dot: correctly escape \n in html output

* spot/misc/escape.cc (escape_html): Handle \n.
* tests/core/readsave.test: Test it.
* NEWS: Mention the fix.
This commit is contained in:
Alexandre Duret-Lutz 2018-04-24 23:24:02 +02:00
parent 9d34c1f500
commit 4fbcdaca91
3 changed files with 34 additions and 5 deletions

5
NEWS
View file

@ -60,6 +60,11 @@ New in spot 2.5.3.dev (not yet released)
options; there are demonstrated on the new
https://spot.lrde.epita.fr/ipynb/satmin.html page.
Bugs fixed:
- print_dot() will correctly escape strings containing \n in HTML
mode.
New in spot 2.5.3 (2018-04-20)
Bugs fixed: