Skip Menu |

This queue is for tickets about the HTML-WikiConverter-MoinMoin CPAN distribution.

Report information
The Basics
Id: 29347
Status: resolved
Worked: 25 min
Priority: 0/
Queue: HTML-WikiConverter-MoinMoin

People
Owner: diberri [...] cpan.org
Requestors: arleylewis [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.53
  • 0.50
  • 0.51
  • 0.52
Fixed in: (no value)



Subject: Support for HTML anchors is missing
The converter ignores named anchors. Perhaps bug 17813 (support for named anchors) is not fixed. See samples below. Note that IE and Firefox accept the use of the "id" or "name" attribute for the name of the anchor. Using "name" is preferred, so I'd recommend: If both are present, use "name"; if only id= is present, then use that. This input: <html> <body> <a href="#target1">link to Target 1</a> <p><a name="target1" id="target1">This is my target</a></p> </body> </html> Should result in this output (you need to more the anchor to precede the paragraph or heading): [#target1 link to Target 1] [[Anchor(target1)]] This is my target Likewise, this input: <html> <body> <a href="#target1">link to Target 1</a> <a name="target1" id="target1"></a> <p>This is my target</p> </body> </html> Should result in this output: [#target1 link to Target 1] [[Anchor(target1)]] This is my target Thanks!
On Thu Sep 13 14:40:15 2007, arleyl wrote: Show quoted text
> The converter ignores named anchors. Perhaps bug 17813 (support for > named anchors) is not fixed. See samples below. Note that IE and Firefox > accept the use of the "id" or "name" attribute for the name of the > anchor. Using "name" is preferred, so I'd recommend: If both are > present, use "name"; if only id= is present, then use that.
Thanks for the report. My apologies for the long delay. This will be fixed in 0.54, which I'm releasing shortly. -- David Iberri