diff options
author | dartcafe <github@dartcafe.de> | 2021-03-06 14:18:19 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-03-06 14:18:19 +0300 |
commit | 7b72fa965a7be4bdd1088b4d9e6ae3a412488a01 (patch) | |
tree | b04b6c03800aff26eb51181c7a43179a33803ff0 /src/js/store/modules/poll.js | |
parent | 6ff9eac06a9ae86830c9b58ebea2436ecea25afe (diff) |
write poll after change, than after input in description and title
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/store/modules/poll.js')
-rw-r--r-- | src/js/store/modules/poll.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/store/modules/poll.js b/src/js/store/modules/poll.js index 50d04336..0f1d6b77 100644 --- a/src/js/store/modules/poll.js +++ b/src/js/store/modules/poll.js @@ -70,6 +70,9 @@ const mutations = { Object.assign(state, payload) }, + setDescriptionSafe(state, payload) { + state.descriptionSafe = payload.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>') + }, } const getters = { |