use v-text instead of v-html

v-html interprets the string passed to it as raw html, without escaping.
We should use v-text wherever possible.
This commit is contained in:
graham-dds
2020-01-14 15:16:21 -05:00
parent d55a81ebdd
commit ffd3dd2d9d
4 changed files with 13 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
import { emitFieldChange } from '../lib/emitters'
import escape from '../lib/escape'
import optionsinput from './options_input'
import textinput from './text_input'
import clindollaramount from './clin_dollar_amount'
@@ -100,7 +99,7 @@ export default {
computed: {
clinTitle: function() {
if (!!this.clinNumber) {
return escape(`CLIN ${this.clinNumber}`)
return `CLIN ${this.clinNumber}`
} else {
return `CLIN`
}