From ec315ed2f257d0c7195d67c54aefd3bbd705ac6a Mon Sep 17 00:00:00 2001 From: ivy <119665497+lvlvllvlvllvlvl@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:43:36 +0700 Subject: [PATCH] replace newlines in gem description with br --- PyPoE/cli/exporter/wiki/parsers/skill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyPoE/cli/exporter/wiki/parsers/skill.py b/PyPoE/cli/exporter/wiki/parsers/skill.py index e3350638..bd7e8788 100644 --- a/PyPoE/cli/exporter/wiki/parsers/skill.py +++ b/PyPoE/cli/exporter/wiki/parsers/skill.py @@ -735,7 +735,7 @@ def _skill(self, gra_eff, infobox: OrderedDict, parsed_args, max_level=None, msg # From ActiveSkills.dat64 if act_skill: - infobox["gem_description"] = act_skill["Description"] + infobox["gem_description"] = act_skill["Description"].replace("\n", "
") infobox["active_skill_name"] = act_skill["DisplayedName"] if act_skill["WeaponRestriction_ItemClassesKeys"]: infobox["item_class_id_restriction"] = ", ".join(