Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001074graphvizDotpublic2006-03-02 12:462011-04-28 04:03
ReporterRyan Schmidt7 
Assigned Toellson 
PlatformOS*-*-OS Version
Summary0001074: Special characters in graph name not encoded properly in cmapx map name and id

This is a minor problem, because nobody would do this, but if the name
of the graph contains characters which need to be escaped in HTML, then
the cmapx output is invalid because it does not do the necessary escaping.

echo 'digraph "foo\"bar<baz>whatever" { a }' | dot -Tcmapx

The output is:

<map id="foo"bar<baz>whatever" name="foo"bar<baz>whatever">

But needs to be:

<map id="foo"bar<baz>whatever" name="foo"bar<baz>whatever">

The mappings that need to occur are:

" becomes "
< becomes <
> becomes >

A function that does this must already be somewhere in Graphviz because
I believe the escaping gets done correctly for cmapx alt tags and titles.
Steps To Reproduce

digraph "foo\"bar<baz>whatever" { a }
TagsNo tags attached.
STATUS-COMMENTFixed (2 March 2006)
VERSION     2.9.20060302.0540
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker