Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a template system based on RTF + Velocity. In my RTF's I've got several VTL sentences, such as:

#foreach($item in $somevar.someProp)Some may-be RTF text #end

If I open the RTF file with Word (2007) and apply any lesser change somewhere else in the document, I sometimes get VTL sentences broken :

#foreach($item in $somevar.som
eProp)Some may-be RTF text #end

This causes the template engine to choke on the sentence, and having to open the RTF with a text editor to restore the split line every time is quite annoying. Note this does not always happen, it seems to be specific on some files. It also doesn't have anything to do with line length, there are other lines longer than the one that gets split.

Does someone know why might Word be doing this, or how to avoid it?

share|improve this question
1  
A screenshot showing the Ruler and with show for Show/Hide under Home>Paragraph (with Office>Word Options>Display>Always show these formatting marks on the screen set to Show all formatting marks checked) at the break, and advice whether any of Advanced>Compatibility Options for>Layout Options are checked may help rule out some possibilities. –  pnuts Jan 25 '13 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.