You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2016/01/23 17:12:39 UTC

[jira] [Updated] (DOXIA-525) Rendering links in xdocs breaks them

     [ https://issues.apache.org/jira/browse/DOXIA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated DOXIA-525:
--------------------------------
    Component/s: Module - Xdoc

> Rendering links in xdocs breaks them
> ------------------------------------
>
>                 Key: DOXIA-525
>                 URL: https://issues.apache.org/jira/browse/DOXIA-525
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Xdoc
>    Affects Versions: 1.6
>            Reporter: Aleksey  Nesterenko
>
> Generating linkcheck report on our project has encountered some problems.
> In final report lots of links are marked as "invalid"
> Report generated on test project:
> http://alexkravin.github.io/testproject/writingchecks.html
> For example try to follow link  processFiltered(java.io.File, java.util.List)
> Look to the URL:
> link looks like AbstractFileSetCheck.html#processFilteredjava.io.File_java.util.List
> Rendering link in this velocity template breaks it:
> https://github.com/alexkravin/linkstest/blob/master/src/xdocs/writingchecks.xml.vm#L13
> brackets and space in the link are broken, the similar problem was specified here
> https://jira.codehaus.org/browse/DOXIA-397
> but in velocity template developer can't put '##' - it would fail the rendering with an error:
> [ERROR] Error parsing /home/asus/sources/links/src/xdocs/writingchecks.xml.vm as a velocity template, using as text.
> Steps of reproducing my problem (for simplifying I'm pointing on my test project):
> 1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/
> 2) mvn clean site
> 3) Open target/site/writingchecks.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)