Turn off text wrapping in Indesign
Is there any analogue of CSS rule
white-space: nowrap in Adobe Indesign?
I know that happens because in Indesign the text can be placed in any arbitrary shape, not only rectangular as it goes in HTML. Typesetting engine is looking for a string that have enough width to fit a word. And if this shape can't fit big word then such a word will be shifted to next text frame, even if a frame does not exist.
The question is how to disable such behavior?
..... not something I'd recommend doing.......
Highlight the text and in the Character Panel Menu choose
Anther option is to create a table from the text you do not want to wrap. Tables can extend past text frame boundaries. It can be a table with a single cell. Ir simply an inline additional text frame.