Skip to content

Commit

Permalink
refactor: escape character from more fields
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasoca committed May 14, 2023
1 parent 8187a06 commit 2adb763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
{{if $i}}
\divider
{{end}}
\cvevent{{"{"}}{{.Position}}{{"}"}}{{"{"}}{{replaceUnescapedChar .Company}}{{"}"}}{{"{"}}{{.StartPeriod}} -- {{.EndPeriod}}{{"}"}}{{"{"}}{{.Location}}{{"}"}}
\cvevent{{"{"}}{{replaceUnescapedChar .Position}}{{"}"}}{{"{"}}{{replaceUnescapedChar .Company}}{{"}"}}{{"{"}}{{.StartPeriod}} -- {{.EndPeriod}}{{"}"}}{{"{"}}{{.Location}}{{"}"}}
{{if $it.Descriptions}}
\begin{itemize}
{{range $it.Descriptions}}
Expand All @@ -145,7 +145,7 @@
{{if $i}}
\divider
{{end}}
\cvevent{{"{"}}{{.Level}}, {{.Major}}{{if .Gpa}}, {{.Gpa}}{{end}}{{"}"}}{{"{"}}{{.Institution}}{{"}"}}{{"{"}}{{.StartPeriod}} -- {{.EndPeriod}}{{"}"}}{{"{"}}{{.Location}}{{"}"}}
\cvevent{{"{"}}{{.Level}}, {{.Major}}{{if .Gpa}}, {{.Gpa}}{{end}}{{"}"}}{{"{"}}{{replaceUnescapedChar .Institution}}{{"}"}}{{"{"}}{{.StartPeriod}} -- {{.EndPeriod}}{{"}"}}{{"{"}}{{.Location}}{{"}"}}
{{if $it.Descriptions}}
\begin{itemize}
{{range $it.Descriptions}}
Expand Down

0 comments on commit 2adb763

Please sign in to comment.