Opened 13 years ago
Last modified 5 years ago
#9992 new defect
Graphviz plugin gets confused by whitespace around equal signs in URL attributes
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Component: | GraphvizPlugin |
Severity: | minor | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The dot language allows both
foo [URL="wiki:FooBar"];
and
foo [URL = "wiki:FooBar"];
Some of us prefer the latter form for readability. :)
The plugin appears to get confused by the whitespace: without the whitespace, it correctly generates a link to the wiki page FooBar, while without the whitespace it just passes the URL "wiki:FooBar?" through to the browser, which then whines about not knowing the "wiki:" scheme.
Workaround, obviously enough, is to elide the whitespace, but it would be nice if the plugin followed the same rules as graphviz here.
Attachments (0)
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Here is the code that determines the behavior. It should be an easy fix. Which Trac version are you on? I want to make sure that if I make a change to the trunk, you'll be able to use that version with your Trac install.
comment:3 Changed 13 years ago by
I'm using FreeBSD port /usr/ports/www/trac-graphviz on FreeBSD 8-STABLE, package trac-graphviz-0.7.4_5 (graphvizplugin-0.7.4.tar.gz) with 0.12.3 (also from FreeBSD ports).
Don't worry too much about making sure I can pick this up, I tend to stick to the FreeBSD ports system and am not likely to upgrade until it does. I know the workaround now, I was reporting the problem primarily so that it will get fixed before it bites somebody else.
comment:4 Changed 13 years ago by
Owner: | changed from Peter Kropf to Ryan J Ollos |
---|
comment:5 Changed 5 years ago by
Owner: | Ryan J Ollos deleted |
---|
Which directory did you install from?
trunk
or one of thetags
?: graphvizplugin.