[ http://jira.codehaus.org/browse/MPXDOC-133?page=all ]

Lukas Theussl updated MPXDOC-133:
---------------------------------

    Description: 
The xdoc

<section name="Tips &amp;  &#38; &quot; Tricks">

produces the following html:

<h2>Tips &amp;amp;  &amp;amp; " Tricks</h2>

which is rendered as

Tips &amp; &amp; " Tricks


I worked around this by replacing the line

<a name="${_anchorName}"/><h2>${_sectionName}</h2>

in the section template of site.jsl by

<a name="${_anchorName}"/><h2><x:expr select="@name"/></h2>

(and the equivalent for subsection). This is probably related to MPXDOC-47 and 
MPXDOC-92, the effect seems to be the same and the solution might be similar.

  was:
The xdoc

<section name="Tips &amp;  &#38; &quot; Tricks">

produces the following html:

<h2>Tips &amp;amp;  &amp;amp; " Tricks</h2>

which is rendered as

Tips &amp; &amp; " Tricks


I worked around this by replacing the line

<a name="${_anchorName}"/><h2>${_sectionName}</h2>

in the section template of site.jsl by

<a name="${_anchorName}"/><h2><x:expr select="@name"/></h2>

(and the equivalent for subsection). This is probably related to MPXDOC-47 and 
MPXDOC-92, the effect seems to be the same and the solution might be similar.

    Fix Version: 1.10

> Ampersand in section/subsection not correct
> -------------------------------------------
>
>          Key: MPXDOC-133
>          URL: http://jira.codehaus.org/browse/MPXDOC-133
>      Project: maven-xdoc-plugin
>         Type: Bug
>  Environment: any
>     Reporter: Lukas Theussl
>     Assignee: Lukas Theussl
>     Priority: Minor
>      Fix For: 1.10

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> The xdoc
> <section name="Tips &amp;  &#38; &quot; Tricks">
> produces the following html:
> <h2>Tips &amp;amp;  &amp;amp; " Tricks</h2>
> which is rendered as
> Tips &amp; &amp; " Tricks
> I worked around this by replacing the line
> <a name="${_anchorName}"/><h2>${_sectionName}</h2>
> in the section template of site.jsl by
> <a name="${_anchorName}"/><h2><x:expr select="@name"/></h2>
> (and the equivalent for subsection). This is probably related to MPXDOC-47 
> and MPXDOC-92, the effect seems to be the same and the solution might be 
> similar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to