fix: render HTML tags in Other section driver license text

- Add safeHTML filter to DriverLicense field in both English and Spanish
- Now 'Type B' / 'Tipo B' displays in bold as intended
- Fixes literal <strong> tags showing instead of bold formatting
This commit is contained in:
juanatsap
2025-11-09 02:59:46 +00:00
parent 18759c5637
commit e9b11cb946
+1 -1
View File
@@ -351,7 +351,7 @@
{{if eq .Lang "es"}}Otros{{else}}Other{{end}} {{if eq .Lang "es"}}Otros{{else}}Other{{end}}
</h3> </h3>
<div class="other-content"> <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 {{.CV.Other.DriverLicense | safeHTML}}{{else}}Driving License type {{.CV.Other.DriverLicense | safeHTML}}{{end}}
</div> </div>
</section> </section>
{{end}} {{end}}