• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
Item7851 for doc work on
extensions that are not part of a release.
More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item6756: Anchors not working if title is longer than 32 characters
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Extension |
FlowchartPlugin |
Normal |
Closed |
|
n/a |
|
Detail
If your text is longer than 32 characters the anchors in the SVG image are not working anymore. The plugin doesn't do anything with long text. To fix this add the following to FlowchartPlugin.pm
$anchor = substr($anchor, 0, 32);
after on line 606/607
my $anchor = $title;
$anchor =~ s/[^a-zA-Z0-9]/_/g; $anchor =~ s/_+/_/g; $anchor =~ s/(^_*|_*$)//g;
--
TWiki:Main.TimmoVerlaan
- 2011-06-16
Timmo reported this in
TWiki:Plugins.FlowchartPluginDev
--
TWiki:Main/PeterThoeny
- 2011-06-17
This is now in SVN trunk and 5.0 branch, and uploaded to twiki.org repository as well.
--
TWiki:Main.PeterThoeny
- 2011-06-17