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:
@@ -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`
|
||||
}
|
||||
|
Reference in New Issue
Block a user