Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4072 closed defect (wontfix)

WikiFormatting - broken explicit numerical ids in headings

Reported by: guardian Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.10
Severity: minor Keywords: heading explicit id
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

With 0.10, explicit ids can be assigned to headings doing:

=== My Very Own Title === #my-very-own-title-id

which produces:

My Very Own Title

however when wanting to assign a numerical id, doing:

=== Title 1 === #1

does not work: it fails to generate a heading with the corresponding id and generates a ticket trac link instead:

=== Title 1 === #1

Please note that this ticket description is using html processor to match what's rendered by a buggy wiki engine.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed

The "buggy wiki engine" simply follows the spec… please see http://www.w3.org/TR/REC-xml/#id, a Name should be

Name	   ::=   	(Letter | '_' | ':') (NameChar)*

so no digit is allowed for the first character.

See also my answer in #th544.

in reply to:  1 comment:2 by guardian, 18 years ago

Replying to cboos:

The "buggy wiki engine" simply follows the spec…

sorry, no offense here, i simply copy-pasted the notice disclaimer from another bug report, i just wanted to emphasize on the fact that i used the html processor.

indeed i should have checked the spec, your anwser in #th544 tricked me :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.