X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FText%2FTradition%2FParser%2FTEI.pm;h=3131774860e92c92be2b8f96de99ab0178e9a472;hb=861c3e272c65c7553ad7c03cca51cbdd561f126c;hp=afea435194b3974afbd392f69e13637f85c246e0;hpb=eb33038fdbbd61e619318542704d462eb03f8e51;p=scpubgit%2Fstemmatology.git diff --git a/lib/Text/Tradition/Parser/TEI.pm b/lib/Text/Tradition/Parser/TEI.pm index afea435..3131774 100644 --- a/lib/Text/Tradition/Parser/TEI.pm +++ b/lib/Text/Tradition/Parser/TEI.pm @@ -188,6 +188,10 @@ sub parse { # Now that we have ranks, see if we have distinct nodes with identical # text and identical rank that can be merged. $tradition->collation->flatten_ranks(); + + # Save the text for each witness so that we can ensure consistency + # later on + $tradition->collation->text_from_paths(); } sub _clean_sequence {