I actually faced this issue in another number of instances.
While parsing ( The Tokenize function/ limitation - Document Generation - Eclipse Capella Forum (mbse-capella.org)) and using index of “FOR loop” to choose to display the info or not (IF condition). I had the same problem aswell. It seems to be related to HTML+IF+FOR, but could be just HTML… .
Glad to hear more if you find anything.