Skip to content
Snippets Groups Projects

#138 - escape html entities in BIO text

Merged #138 - escape html entities in BIO text
1 unresolved thread
Merged Dave LiPuma requested to merge Dave/pleroma-fe:issue-138-html-escaping into develop
1 unresolved thread
import { unescape } from 'lodash'
import TabSwitcher from '../tab_switcher/tab_switcher.js'
import StyleSwitcher from '../style_switcher/style_switcher.vue'
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
@@ -6,7 +8,7 @@ const UserSettings = {
data () {
return {
newName: this.$store.state.users.currentUser.name,
newBio: this.$store.state.users.currentUser.description,
newBio: unescape(this.$store.state.users.currentUser.description),
newLocked: this.$store.state.users.currentUser.locked,
newNoRichText: this.$store.state.users.currentUser.no_rich_text,
newDefaultScope: this.$store.state.users.currentUser.default_scope,
Loading