Opened 18 years ago
Last modified 10 years ago
#6630 new defect
single || in a line mistaken for table formatting
| Reported by: | Markus.Staab | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | topic-wikiengine |
| Component: | wiki system | Version: | |
| Severity: | normal | Keywords: | table pipe syntax |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
if you write sth like
DQL still uses the CONCAT() and not the || syntax
in a svn comment, the changeset view looks like
DQL still uses the CONCAT() and not the syntax
| . thats not correct in this case because the user wants to tell sth about the | operator. |
Attachments (0)
Change History (7)
comment:1 by , 18 years ago
| Component: | general → browser |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
comment:2 by , 18 years ago
The one-line formatter used for those messages probably shouldn't be processing table directives though.
comment:3 by , 18 years ago
| Component: | browser → wiki |
|---|---|
| Keywords: | table added |
| Milestone: | → 0.12 |
| Resolution: | worksforme |
| Status: | closed → reopened |
| Summary: | using || in svn comments → single || in a line mistaken for table formatting |
Well, probably yes, but that would only solve help while displaying it in the timeline (short form), not when visualizing the changeset. We can improve the regexp for a simple table row so that it only handles stuff like || (... ||)+ (that could still fail in some situations, but less systematically than now).
comment:4 by , 16 years ago
| Milestone: | next-major-0.1X → 0.12 |
|---|
Now if we make the regexp treat the line as a whole, we could also probably allow the single pipe syntax:
^\s*\|(?:(?:[^|]*)\|)+\s*\\?$
(the split in cells and handling of !| being done in a second step)
One step closer to full WikiCreole compatibility ;-)
comment:5 by , 16 years ago
| Keywords: | pipe syntax added |
|---|---|
| Milestone: | 0.12 → 0.13 |
Forgot about pipes within backticks or within {{{...}}}, this is a bit harder than I thought.
comment:6 by , 15 years ago
| Milestone: | 0.13 → 0.14-wikiengine |
|---|---|
| Owner: | changed from to |
| Status: | reopened → new |
comment:7 by , 10 years ago
| Owner: | removed |
|---|



SVN log messages are interpreted as wiki syntax.
Either use verbatim blocks ({{{ }}}) or quoting (``) or disable wiki syntax for log messages: TracIni#changeset-section