Updated escaping of characters when converting to kramdown. This eliminates the escaped brackets and colons in the AT source files.
Updated selection of longest IDML story to be more accurate (discard XML markup when comparing story lengths)
Improved code that merges adjacent kramdown elements and handles :hr elements when cleaning the tree.
Extracted code to merge record ids into separate class for better testing
Added class to adjust gap_mark positions