Modify

Opened 12 years ago

Last modified 4 years ago

#9992 new defect

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

Reported by: sra@… 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 12 years ago by Ryan J Ollos

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

comment:2 Changed 12 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 12 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 12 years ago by Ryan J Ollos

Owner: changed from Peter Kropf to Ryan J Ollos

comment:5 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.