Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

Last modified 12 years ago

#393 closed defect (wontfix)

Wiki links do not permit arbitrary whitespace

Reported by: trac@… Owned by: Jonas Borgström
Priority: high Milestone:
Component: wiki system Version: devel
Severity: major Keywords:
Cc: tclancy@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The default WikiStart contains:

data. This newly created environment also contains [wiki:TracGuide
documentation] to help you get started with your project.

which misrenders as:

data. This newly created environment also contains [wiki:TracGuide documentation] to help you get started with your project.

The newline is a problem, apparently.

Attachments (0)

Change History (6)

comment:1 by daniel, 21 years ago

Component: generalwiki
Milestone: 0.70.7.1
Priority: normalhigh
Severity: normalmajor

comment:2 by daniel, 21 years ago

Do other wikis allow \n in wikilinks?

comment:3 by trac@…, 21 years ago

There are some Web browsers (any more?) that will hard wrap your text for you, so you may not know. Also, if we ever get Emacs support for wiki editing, that'd happen too. :-)

The wiki I work on permits arbitrary amounts of tabs/newlines/spaces at any point it's expecting white space, which is also the way HTML works, so I think it would be a reasonable thing to do for Trac.

comment:4 by daniel, 21 years ago

Resolution: wontfix
Status: newclosed

Moin doesn't allow newlines in wikilinks either.

This would require too much effort to be really worth it.

comment:5 by tclancy@…, 20 years ago

Cc: tclancy@… added

This isn't just a problem with new lines: putting a space after the inital opening square bracket causes the linking to fail as well. Would it be possible to strip that whitespace out if the text immediately after it resembles one of the link styles Trac recognizes?

comment:6 by Christian Boos, 12 years ago

Milestone: 0.7.1

(clearing report:35)

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.