From 6332d826430e0f691d91554b1238cfb5912628b2 Mon Sep 17 00:00:00 2001 From: juanatsap Date: Wed, 12 Nov 2025 09:36:03 +0000 Subject: [PATCH] fix: render driver license as bold HTML instead of escaped text - Move 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 tags --- data/cv-en.json | 2 +- data/cv-es.json | 2 +- templates/cv-content.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/cv-en.json b/data/cv-en.json index 548effa..3277e15 100644 --- a/data/cv-en.json +++ b/data/cv-en.json @@ -909,7 +909,7 @@ } ], "other": { - "driverLicense": "Type B" + "driverLicense": "Type B" }, "meta": { "version": "2025-11-09", diff --git a/data/cv-es.json b/data/cv-es.json index 461e7d4..bd37eee 100644 --- a/data/cv-es.json +++ b/data/cv-es.json @@ -914,7 +914,7 @@ } ], "other": { - "driverLicense": "Tipo B" + "driverLicense": "Tipo B" }, "meta": { "version": "2025-11-09", diff --git a/templates/cv-content.html b/templates/cv-content.html index 03e3c4b..b9b08aa 100644 --- a/templates/cv-content.html +++ b/templates/cv-content.html @@ -349,7 +349,7 @@
- {{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}}{{else}}Driving License type {{.CV.Other.DriverLicense}}{{end}}