projects
/
scpubgit/stemmatology.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
reading IDs must be XML names; now used in SVG node IDs
[scpubgit/stemmatology.git]
/
lib
/
Text
/
Tradition
/
Parser
/
JSON.pm
diff --git
a/lib/Text/Tradition/Parser/JSON.pm
b/lib/Text/Tradition/Parser/JSON.pm
index
1d618dc
..
0734856
100644
(file)
--- a/
lib/Text/Tradition/Parser/JSON.pm
+++ b/
lib/Text/Tradition/Parser/JSON.pm
@@
-207,7
+207,7
@@
sub make_nodes {
if( exists( $unique{$word} ) ) {
$rdg = $unique{$word};
} else {
- my %args = ( 'id' => join( ',', $idx, $j+1 ),
+ my %args = ( 'id' => 'r' . join( '.', $idx, $j+1 ),
'rank' => $idx,
'text' => $word,
'collation' => $c );