encode quoted text
This commit is contained in:
parent
e89dc03685
commit
42dcd6f95c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ oml.ui.annotation = function(data, $iframe) {
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
lineHeight: '21px',
|
lineHeight: '21px',
|
||||||
padding: '8px'
|
padding: '8px'
|
||||||
}).html(data.text).on({
|
}).html(Ox.encodeHTMLEntities(data.text).replace(/\n/g, '<br/>')).on({
|
||||||
click: function(event) {
|
click: function(event) {
|
||||||
$iframe.postMessage('selectAnnotation', {
|
$iframe.postMessage('selectAnnotation', {
|
||||||
id: data.id
|
id: data.id
|
||||||
|
|
Loading…
Reference in a new issue