Skip to content

Commit 8fb3ad8

Browse files
committed
escape fig id in url
1 parent 1e07b2d commit 8fb3ad8

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

scripts/App-GenomeComparison.pl

+1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ sub run_find_bdbh {
297297
run_cmd(\@cmd);
298298
my $svg_map = `cat $circos_dir/circos.html`;
299299
$svg_map =~ s/ (alt|title)='\S*cId=/ $1='/g;
300+
$svg_map =~ s/feature&cId=fig\|/feature&cId=fig%7C/g;
300301
$svg_map =~ s/(<area.*href.*)>/$1 target="_blank">/g;
301302
$final .= $svg_map;
302303
$final .= '<img usemap="#circosmap" src="data:image/svg+xml;base64,'.

test_data/rna6_local.inp

-28
This file was deleted.

0 commit comments

Comments
 (0)