#393 closed defect (wontfix)
Wiki links do not permit arbitrary whitespace
Reported by: | 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 , 21 years ago
Component: | general → wiki |
---|---|
Milestone: | 0.7 → 0.7.1 |
Priority: | normal → high |
Severity: | normal → major |
comment:2 by , 21 years ago
comment:3 by , 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 , 21 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Moin doesn't allow newlines in wikilinks either.
This would require too much effort to be really worth it.
comment:5 by , 20 years ago
Cc: | 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?
Do other wikis allow \n in wikilinks?