inDesign file formating

inDesign file formating - tags not working correctly in Studio 2017 and break words in separate lines (letter by letter in separate lines).  Same setting used in Studio 2015 and the files displays correctly. Words are not broken and are displayed in line as should. Any suggestion how to fix this issue?

Wrong formatting in 2017

 

Correct formatting in 2015