fix: render driver license as bold HTML instead of escaped text

- Move <strong> tags from data to template for proper HTML rendering
- Update both English and Spanish data files to use plain text
- Template now wraps license type in <strong> tags
This commit is contained in:
juanatsap
2025-11-12 09:36:03 +00:00
parent e932716132
commit 6332d82643
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -909,7 +909,7 @@
}
],
"other": {
"driverLicense": "<strong>Type B</strong>"
"driverLicense": "Type B"
},
"meta": {
"version": "2025-11-09",
+1 -1
View File
@@ -914,7 +914,7 @@
}
],
"other": {
"driverLicense": "<strong>Tipo B</strong>"
"driverLicense": "Tipo B"
},
"meta": {
"version": "2025-11-09",
+1 -1
View File
@@ -349,7 +349,7 @@
</h3>
</summary>
<div class="other-content">
{{if eq .Lang "es"}}Carnet de conducir tipo {{.CV.Other.DriverLicense}}{{else}}Driving License type {{.CV.Other.DriverLicense}}{{end}}
{{if eq .Lang "es"}}Carnet de conducir tipo <strong>{{.CV.Other.DriverLicense}}</strong>{{else}}Driving License type <strong>{{.CV.Other.DriverLicense}}</strong>{{end}}
</div>
</details>
</section>