Loading plugins/org.etsi.mts.tdl.tools.to.docx.poi/src/org/etsi/mts/tdl/tools/to/docx/poi/Generator.java +5 −1 Original line number Diff line number Diff line Loading @@ -426,8 +426,12 @@ public class Generator { map.put(Placeholders.NAME, tpd.getName()); //TODO: what if 0? what if more than 1? //TODO: make more robust //DONE: remove formatting spaces? if (tpd.getTestObjective().size() == 1) { map.put(Placeholders.DESCRIPTION, tpd.getTestObjective().get(0).getDescription().replaceAll("\"", "")); map.put(Placeholders.DESCRIPTION, tpd.getTestObjective().get(0).getDescription() .replaceAll("\"", "") .replaceAll("\\s*\n\\s+", " ") ); String uri = String.join("\n", tpd.getTestObjective().get(0).getObjectiveURI()).trim(); map.put(Placeholders.URI, uri.replaceAll("\"","")); } else { Loading Loading
plugins/org.etsi.mts.tdl.tools.to.docx.poi/src/org/etsi/mts/tdl/tools/to/docx/poi/Generator.java +5 −1 Original line number Diff line number Diff line Loading @@ -426,8 +426,12 @@ public class Generator { map.put(Placeholders.NAME, tpd.getName()); //TODO: what if 0? what if more than 1? //TODO: make more robust //DONE: remove formatting spaces? if (tpd.getTestObjective().size() == 1) { map.put(Placeholders.DESCRIPTION, tpd.getTestObjective().get(0).getDescription().replaceAll("\"", "")); map.put(Placeholders.DESCRIPTION, tpd.getTestObjective().get(0).getDescription() .replaceAll("\"", "") .replaceAll("\\s*\n\\s+", " ") ); String uri = String.join("\n", tpd.getTestObjective().get(0).getObjectiveURI()).trim(); map.put(Placeholders.URI, uri.replaceAll("\"","")); } else { Loading