IDML Filter: support merging of adjacent codes

Below is a representation of adjucent-codes.idml document:

image

The merging of consequential codes can be performed to simplify the translation process.

Edited by Denis Konovalyenko