Include+ macros with one line are rendered in separate paragraph when included page is translated

Description

  1. create a space with a version and two languages

  2. create a page 'included page' withcontent 'simple content'

  3. translate the page to 'translated simple content'

  4. create a page 'including page' and include the page 'included page' inline
    The included content is displayed in a new line and is not highlighted as included content

As soon as the included page consist out of more than one paragraph, the include works. It also works when there is no sv-translation macro on the included page.

In the rendered HTML, the included paragraph somehow is outside the macro-paragraph. That's why the JavaScript code doesn't recognize it as included content and it's not inline.

A simple demo space is attached to show the behavior.

This bug was introduced with Confluence 5.9, it works on Confluence 5.8

Environment

Confluence 5.9.x

Assignee

Unassigned

Reporter

Sync User [K15t]

Participants

None

QA Status

None

Deployment

None

Documentation Status

None

UI Concept

None

External Votes

None

Sprint

None

Fix versions

Affects versions

Configure