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:
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user