I have created a template that contains a table holding partly prefixed texts. Users have to fill in texts themselves when creating a page. While testing this I noticed that Confluence is adding a <br/> after a text added in the editing mode. This <br/> causes a white line in the export to Word. This <br/> is not wanted.
The template says:
The created Page based on this template says:
<em>1) Dizzy - Tommy Row<br/>
Can anybody explain why there is the <br/> and how can I get rid of it!!!
Thanks in advance. By the way, this ia all happening in Confluence 5.1.5.
Thanks again! I just discovered that using Italic <em></em> in the template is causing the <br/> when creating/editing a page based on this template. So now I skipped all the Italic in the template and add them when creating/editing. This gives me the result in Word I want!! :-)
I don't remember if this happens when creating a template, but Confluence inserts hidden tags all over the place when you work in the GUI editor. If you can (and again, I don't remember if template creation allows this), use the Source Editor plugin to get in there and remove extraneous tags.
Thanks for your answers, but I allready deleted alle the <br/>'s in the template via the source editor. But whenever I create a new page based on this template and I add texts the <br/>'s show up again after saving the page and causes whitelines in Word when I export the page. The idea of deleting all the <br/>'s everytime I create a page based on this template makes me unhappy! :-(
Any other ideas?
I have had the same experience as Matthew: There are lots of hidden tags and there is no way controlling it.
My typical problem are <p> within table headers.They are sometimes...
The result is that the font formatting is different in Confluence and the height of the table header cell is different in PDF.
My "solution" is to ignore the difference in Confluence but to define CSS styles that make the header look the same in PDF.
Yup, I find myself going into the source editor on really complicated pages (lists within lists, macros within sub-lists). The most common thing I remove is extra <p> tags from list items and extraneous <span> tags. Requires a bit of manual work, but cleaning up a page in the source is so much easier than wrestling with the GUI's "generous" tag insertion.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs