jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x and 3.x Site Plugin
  • MSITE-235

named references don't work, regression from beta-5

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 2.0-beta-6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

src/site/apt/guides/introduction/introduction-to-the-pom.apt

May be because of spaces?

This works in beta-5:

  • {{{introduction-to-the-pom.html#What is a POM}What is a POM}}?
    ...
  • {What is a POM}?

But not in 2.0-SNAPSHOT.

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. DOXIA-94 doxia creates a name anchors with spaces which is not valid XHTML.

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Lukas Theussl added a comment - 29/Jun/07 12:36 PM

This was introduced in MSITE-168. Even though apt does not specify whether spaces are allowed in anchors (AFAIK), I think it's a reasonable requirement. So apart from documenting it, this is won't fix IMO.

Show
Lukas Theussl added a comment - 29/Jun/07 12:36 PM This was introduced in MSITE-168. Even though apt does not specify whether spaces are allowed in anchors (AFAIK), I think it's a reasonable requirement. So apart from documenting it, this is won't fix IMO.
Hide
Permalink
Lukas Theussl added a comment - 30/Jun/07 2:05 AM

Actually, apt does specify the format of an anchor: "The name of an anchor/link is its text with all non alphanumeric characters stripped." There is a method in StructureSink to do that, this should be used for all user-supplied anchors. HtmlTools#encodeId should only be used for internally generated anchors, ie sections and subsections.

Show
Lukas Theussl added a comment - 30/Jun/07 2:05 AM Actually, apt does specify the format of an anchor: "The name of an anchor/link is its text with all non alphanumeric characters stripped." There is a method in StructureSink to do that, this should be used for all user-supplied anchors. HtmlTools#encodeId should only be used for internally generated anchors, ie sections and subsections.
Hide
Permalink
Dennis Lundberg added a comment - 02/Sep/07 8:49 AM

I believe that this has been solved by DOXIA-94.

Show
Dennis Lundberg added a comment - 02/Sep/07 8:49 AM I believe that this has been solved by DOXIA-94.
Hide
Permalink
Dennis Lundberg added a comment - 22/Mar/08 1:04 PM

Spaces are not allowed in anchors.

Show
Dennis Lundberg added a comment - 22/Mar/08 1:04 PM Spaces are not allowed in anchors.

People

  • Assignee:
    Unassigned
    Reporter:
    Brett Porter
Vote (0)
Watch (0)

Dates

  • Created:
    31/May/07 9:53 PM
    Updated:
    22/Mar/08 1:04 PM
    Resolved:
    22/Mar/08 1:04 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.