mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
sanitize dynamic document attributes
This commit is contained in:
1 parent
8830e03cf3
commit
99ac349ecc
3 files changed
+39
-5
No files matched your search
@@ -646,9 +646,7 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
const container = document.createElement('div')
|
||||
|
||||
container.innerHTML = clipboardHtml
|
||||
const container = new DOMParser().parseFromString(clipboardHtml, 'text/html').body
|
||||
|
||||
const fieldNodes = [...container.querySelectorAll('dynamic-field[data-field][data-area]')]
|
||||
|
||||
|
||||
Reference in new issue
Block a user