Skip to content

Commit 1bd0c2c

Browse files
authored
replace all tab chars
1 parent cc094d8 commit 1bd0c2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/views/sis/student-work/clean-job.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export function cleanJob(job: JobType): JobType {
1212
const type = fastGetTrimmedText(job.type)
1313

1414
// these all need to retain their newlines
15-
const description = removeHtmlWithRegex(job.description).replace('\t', ' ')
16-
const comments = removeHtmlWithRegex(job.comments).replace('\t', ' ')
17-
const skills = removeHtmlWithRegex(job.skills).replace('\t', ' ')
15+
const description = removeHtmlWithRegex(job.description).replace(/\t/g, ' ')
16+
const comments = removeHtmlWithRegex(job.comments).replace(/\t/g, ' ')
17+
const skills = removeHtmlWithRegex(job.skills).replace(/\t/g, ' ')
1818

1919
const hoursPerWeek = job.hoursPerWeek.trim()
2020
const lastModified = job.lastModified.trim()

0 commit comments

Comments
 (0)