Opened 6 years ago

Last modified 6 years ago

#9992 new defect

Graphviz plugin gets confused by whitespace around equal signs in URL attributes

Reported by: sra@… Owned by: Ryan J Ollos
Priority: low Component: GraphvizPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.11


The dot language allows both

  foo [URL="wiki:FooBar"];


  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 (4)

comment:1 Changed 6 years ago by Ryan J Ollos

Which directory did you install from? trunk or one of the tags?: graphvizplugin.

comment:2 Changed 6 years ago by Ryan J Ollos

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 6 years ago by sra@…

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 6 years ago by Ryan J Ollos

Owner: changed from Peter Kropf to Ryan J Ollos

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Ryan J Ollos.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.