This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pannellum
mirror of
https://github.com/mpetroff/pannellum.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
Allow for new lines in hot spot text (
fixes
#307
).
pull/318/head
Matthew Petroff
8 years ago
parent
220a6d6ec5
commit
2158d8502d
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/js/pannellum.js
+ 2
- 1
src/js/pannellum.js
View File
@@ -2132,7 +2132,8 @@ function escapeHTML(s) {
.replace("'", ''')
.replace("'", ''')
.replace('<', '<')
.replace('<', '<')
.replace('>', '>')
.replace('>', '>')
.replace('/', '/');
.replace('/', '/')
.replace('\n', '<br>'); // Allow line breaks
}
}
/**
/**
Write
Preview
Loading…
Cancel
Save