From fc03edb2859daac98e453763b275ab099169f103 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 22 Oct 2023 16:38:48 +0200 Subject: [PATCH] fix custom link_text bug --- rendercv/data_model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rendercv/data_model.py b/rendercv/data_model.py index 787fef0..c01fe94 100644 --- a/rendercv/data_model.py +++ b/rendercv/data_model.py @@ -953,7 +953,7 @@ class Connection(BaseModel): Warning: This class isn't designed for users to use, but it is used by RenderCV to make - the $\LaTeX$ templating easier. + the $\\LaTeX$ templating easier. """ name: Literal[ @@ -1247,6 +1247,7 @@ class CurriculumVitae(BaseModel): for custom_section in self.custom_sections: # type: ignore if custom_section.title == section_name: entry_type = custom_section.entries[0].__class__.__name__ + link_text = custom_section.link_text entries = custom_section.entries break