src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
equal
deleted
inserted
replaced
1750 } |
1750 } |
1751 sb.append(quote); |
1751 sb.append(quote); |
1752 result.addContent(sb); |
1752 result.addContent(sb); |
1753 Content docRootContent = new ContentBuilder(); |
1753 Content docRootContent = new ContentBuilder(); |
1754 |
1754 |
|
1755 boolean isHRef = inAnAtag() && node.getName().toString().equalsIgnoreCase("href"); |
1755 for (DocTree dt : node.getValue()) { |
1756 for (DocTree dt : node.getValue()) { |
1756 if (utils.isText(dt) && inAnAtag()) { |
1757 if (utils.isText(dt) && isHRef) { |
1757 String text = ((TextTree) dt).getBody(); |
1758 String text = ((TextTree) dt).getBody(); |
1758 if (text.startsWith("/..") && !configuration.docrootparent.isEmpty()) { |
1759 if (text.startsWith("/..") && !configuration.docrootparent.isEmpty()) { |
1759 result.addContent(configuration.docrootparent); |
1760 result.addContent(configuration.docrootparent); |
1760 docRootContent = new ContentBuilder(); |
1761 docRootContent = new ContentBuilder(); |
1761 result.addContent(textCleanup(text.substring(3), isLastNode)); |
1762 result.addContent(textCleanup(text.substring(3), isLastNode)); |