diff --git a/src/js/pannellum.js b/src/js/pannellum.js index 59d20f9..d31bafc 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -2132,7 +2132,8 @@ function escapeHTML(s) { .replace("'", ''') .replace('<', '<') .replace('>', '>') - .replace('/', '/'); + .replace('/', '/') + .replace('\n', '
'); // Allow line breaks } /**