I am importing a word document to Confluence which has few line breaks in between. Let us says there are 3 lines each with a line break like thus:
Line1
Line2
Line3
But when imported to Confluence using the Word importer, everything is appearing without the line breaks.
Line1
Line2
Line3
Is there a configuration that we can do to override this? How can we get the line breaks ported across?
I had a similar problem, and if IIRC, I had to replace the line breaks with \\ and then newline, in the word doc before the import.
Can't believe that works but there you go! Thanks Jamie. I only spent a couple of hours on this :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cool stuff - same trouble here. Thanks !
@Jobin - use Webdav + Notepad++ Search&Replace function to fix this with imported content :) Maybe that saves you a bit of time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem, I think, Word end-paragraphs are imported without extra spacing, meaning our people are making manual after processing inserting a line feed followed by a delete to have the natural Confluence space appearing after a paragraph. We are now to import thousands of pages and this manual processing will take weeks. @Jamie Echlin [Adaptavist] and @Jobin Kuruvilla [Go2Group], I can't get your trick working, I am probably missing something. What exactly do you mean by "replace the line breaks with \\ and then newline"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using Confluence 6.3.1
Jamie's solution didn't work for me....but it was close to the actual solution. Between reading Jamie's post, and the info I found at https://confluence.atlassian.com/display/CONF34/Working+with+Text+Breaks ,
I realized the trick was you had to put \\ then a space then another \\. So in Word, my method became
find: ^p
replace with: \\ \\^p
The ^p (which means paragraph or line break to Word) in the 'replace with' portion is not strictly necessary, Confluence will still import this with the line break. However, it will look much better in Word if you keep these in the doc, and they won't make any difference to Confluence, as it seems to ignore these.
BTW, I'm surprised the Confluence developers couldn't have written their Word import to do the ^p conversion to line break properly. Seems like it should have been a no-brainer, Yet it caused me a to lose a ton of time to figure out how to do a workaround using the \\ \\ trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the opposite problem, I use the "No spacing" format in word and it imports that way but if I then edit the page in confluence it uses it's own line spacing which has a much bigger gap between lines and I can find no way to change that so my pages start having mixed formatting. I also do a lot of LDAP filter documents and the import can not handle that and using {noformat} in the word doc just gets ignored so I have to try and do a lot of manual editing after the fact. It ends up being easier to just attach the doc as an attachment, which means I might as well dump confluence and go to sharepoint.
It was much easier under wiki markup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confluence 4.2 btw!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.