Commit 0f213507efc343e01d3c46ac61845b3150268bb4

Authored by Tiago Guimarães
1 parent 90c3d04611
Exists in DSpace52++

fix spaces

dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java
... ... @@ -544,7 +544,7 @@ public class ItemTag extends TagSupport
544 544 if (isLink)
545 545 {
546 546 out.print("<a " + (qualifier.equals("doi")?"target=\"_blank\"":"")
547   - + "href=\"" + values[j].value + "\">"
  547 + + " href=\"" + values[j].value + "\">"
548 548 + Utils.addEntities(values[j].value) + "</a>");
549 549 }
550 550 else if (isDate)
... ... @@ -564,7 +564,7 @@ public class ItemTag extends TagSupport
564 564 {
565 565 // Already a URL, print as if it was a regular link
566 566 out.print("<a" + (qualifier.equals("doi")?"target=\"_blank\"":"")
567   - + "href=\"" + value + "\">"
  567 + + " href=\"" + value + "\">"
568 568 + Utils.addEntities(value) + "</a>");
569 569 }
570 570 else
... ... @@ -594,8 +594,8 @@ public class ItemTag extends TagSupport
594 594 }
595 595  
596 596 String url = urn2baseurl.get(foundUrn);
597   - out.print("<a" + (qualifier.equals("doi")?"target=\"_blank\"":"")
598   - + "href=\"" + url
  597 + out.print("<a " + (qualifier.equals("doi")?"target=\"_blank\"":"")
  598 + + " href=\"" + url
599 599 + value + "\">"
600 600 + Utils.addEntities(values[j].value)
601 601 + "</a>");
... ...