mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Properly escape dragged node text. Fixes #4139
This commit is contained in:
parent
d397959f6a
commit
24ec882f45
@ -168,7 +168,7 @@ export class Tree {
|
||||
if(origEvent.dataTransfer.setDragImage) {
|
||||
let dragItem = $(`
|
||||
<div class="drag-tree-node">
|
||||
<span>${dropDetails.text}</span>
|
||||
<span>${_.escape(dropDetails.text)}</span>
|
||||
</div>`
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user