From c02bb8518ee9f53eae7b48a7742ece0e3e960238 Mon Sep 17 00:00:00 2001 From: graham-dds Date: Tue, 7 Jan 2020 15:34:31 -0500 Subject: [PATCH] Escape html chanacters, if any, in CLIN number --- js/components/clin_fields.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/components/clin_fields.js b/js/components/clin_fields.js index 327bedf0..59d6c8c9 100644 --- a/js/components/clin_fields.js +++ b/js/components/clin_fields.js @@ -1,4 +1,5 @@ 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' @@ -99,7 +100,7 @@ export default { computed: { clinTitle: function() { if (!!this.clinNumber) { - return `CLIN ${this.clinNumber}` + return escape(`CLIN ${this.clinNumber}`) } else { return `CLIN` }