Ticket #393 (closed defect: wontfix)
Opened 8 years ago
Last modified 6 years ago
Wiki links do not permit arbitrary whitespace
| Reported by: | trac@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | high | Milestone: | 0.7.1 |
| Component: | wiki system | Version: | devel |
| Severity: | major | Keywords: | |
| Cc: | tclancy@… | ||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 8 years ago by daniel
- Component changed from general to wiki
- Milestone changed from 0.7 to 0.7.1
- Priority changed from normal to high
- Severity changed from normal to major
comment:2 Changed 8 years ago by daniel
comment:3 Changed 8 years ago by trac@…
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 Changed 8 years ago by daniel
- Resolution set to wontfix
- Status changed from new to closed
Moin doesn't allow newlines in wikilinks either.
This would require too much effort to be really worth it.
comment:5 Changed 8 years ago by tclancy@…
- 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?



Do other wikis allow \n in wikilinks?