-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
4.2.4, 4.2.7, 4.3, 5.3.1
To replicate:
Create a page with this content:
{excerpt} This is a test. {excerpt} Another line.
When saving the page, the space between the two lines will be removed.
Add a title to the top of the page like so:
h2. This is a title. {excerpt} This is a test. {excerpt} Another line.
... and the gap will render properly.
Verified in Safari and Firefox.
- is related to
-
CONFSERVER-25930 Excerpt macro removes white space below headings
-
- Closed
-
Here's a hack to fix this. Note that this macro is currently broken, both because it doesn't create valid HTML syntax, but also because the "Display Inline" option just doesn't work.
HACK:
1. Go to Confluence Admin > Custom HTML.
2. Click Edit
3. Enter the following code fragment.
It won't fix the inlining problem, but it will turn the text node into a <p> node.
In case your wondering, <div> elements are NOT allowed to contain text nodes directly as it has a flow content model while <p> has a phrasing content model.