Don't add <br/> on sign markers when not needed

This commit is contained in:
Mike Primm 2011-11-24 01:40:07 -06:00
parent 6fedc7169e
commit 910a2269a8

View File

@ -52,11 +52,11 @@ public class MarkerSignManager {
set = v.substring(4);
evt.setLine(i, "");
}
else if(label.length() == 0) {
label = escapeMarkup(v);
else if(v.length() > 0) {
if(label.length() > 0) {
label = label + "<br/>";
}
else {
label = label + "<br/>" + escapeMarkup(v);
label = label + escapeMarkup(v);
}
}
/* Get the set and see if the marker is already defined */