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:
+1
-1
@@ -909,7 +909,7 @@
|
||||
}
|
||||
],
|
||||
"other": {
|
||||
"driverLicense": "<strong>Type B</strong>"
|
||||
"driverLicense": "Type B"
|
||||
},
|
||||
"meta": {
|
||||
"version": "2025-11-09",
|
||||
|
||||
+1
-1
@@ -914,7 +914,7 @@
|
||||
}
|
||||
],
|
||||
"other": {
|
||||
"driverLicense": "<strong>Tipo B</strong>"
|
||||
"driverLicense": "Tipo B"
|
||||
},
|
||||
"meta": {
|
||||
"version": "2025-11-09",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user