MPXDOC-132 : A link starting with https wasn't considered as an external link.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153863 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
632a860139
commit
e57ab85705
4 files changed
+15
-19
No files matched your search
@@ -305,7 +305,7 @@
|
||||
<doc:escapeNameToken value="${href}"/>
|
||||
</x:attribute>
|
||||
</j:when>
|
||||
<j:when test="${href.startsWith('http://')}">
|
||||
<j:when test="${href.startsWith('http://') or href.startsWith('https://')}">
|
||||
<x:attribute name="href">${href}</x:attribute>
|
||||
<x:attribute name="class">externalLink</x:attribute>
|
||||
<x:attribute name="title">External Link</x:attribute>
|
||||
|
||||
@@ -16,20 +16,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Xdoc test Document</title>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="test jslToSite tag">
|
||||
<p>empty document</p>
|
||||
<p>
|
||||
This document is generated separately from other xdoc documents
|
||||
but should retain the site stylesheet and navigation.
|
||||
</p>
|
||||
<p>This document is generated separately from other xdoc documents but should retain the site stylesheet and navigation.<br/>
|
||||
<ul>
|
||||
<li><a href="http://myAddress">HTTP External link 1</a></li>
|
||||
<li><a href="https://myAddress">HTTPS External link 2</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
</document>
|
||||
Reference in new issue
Block a user