From c69bfa85a2420b9b28a36c7ce46650da7cd9b917 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Oct 2024 11:32:37 +0100 Subject: [PATCH] revert using wordwrap method on tro view --- megamek/src/megamek/common/templates/TROView.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/megamek/src/megamek/common/templates/TROView.java b/megamek/src/megamek/common/templates/TROView.java index 98035f87eb2..e30ebd14fd2 100644 --- a/megamek/src/megamek/common/templates/TROView.java +++ b/megamek/src/megamek/common/templates/TROView.java @@ -171,27 +171,27 @@ protected void addEntityFluff(Entity entity) { model.put("year", String.valueOf(entity.getYear())); model.put("techRating", entity.getFullRatingName()); if (!entity.getFluff().getOverview().isBlank()) { - model.put("fluffOverview", wordWrap(entity.getFluff().getOverview(), 200)); + model.put("fluffOverview", entity.getFluff().getOverview()); } if (!entity.getFluff().getCapabilities().isBlank()) { - model.put("fluffCapabilities", wordWrap(entity.getFluff().getCapabilities(), 200)); + model.put("fluffCapabilities", entity.getFluff().getCapabilities()); } if (!entity.getFluff().getDeployment().isBlank()) { - model.put("fluffDeployment", wordWrap(entity.getFluff().getDeployment(), 200)); + model.put("fluffDeployment", entity.getFluff().getDeployment()); } if (!entity.getFluff().getHistory().isBlank()) { - model.put("fluffHistory", wordWrap(entity.getFluff().getHistory(), 200)); + model.put("fluffHistory", entity.getFluff().getHistory()); } if (!entity.getFluff().getManufacturer().isBlank()) { - model.put("manufacturerDesc", wordWrap(entity.getFluff().getManufacturer(), 200)); + model.put("manufacturerDesc", entity.getFluff().getManufacturer()); } if (!entity.getFluff().getPrimaryFactory().isBlank()) { - model.put("factoryDesc", wordWrap(entity.getFluff().getPrimaryFactory(), 200)); + model.put("factoryDesc", entity.getFluff().getPrimaryFactory()); } }