Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Confluence Cloud does not handle paragraph linebreaks properly #71

Open
johnboyes opened this issue Oct 22, 2021 · 1 comment
Open

Confluence Cloud does not handle paragraph linebreaks properly #71

johnboyes opened this issue Oct 22, 2021 · 1 comment

Comments

@johnboyes
Copy link
Contributor

The Confluence Cloud API is treating every single linebreak as an actual linebreak, when our expected behaviour is that it will not (we expect that only double linebreaks will result in an actual linebreak in Confluence). This problem only applies to Confluence Cloud, not Server.

johnboyes added a commit that referenced this issue Oct 22, 2021
This commit adds a workaround for #71, just for the Gauge specs in this
gauge-confluence repo.  The workaround is not to have any line breaks in
any paragraphs in the Gauge specs.
@johnboyes
Copy link
Contributor Author

johnboyes commented Oct 23, 2021

Possible fixes for this include:

  • submitting an issue to Atlassian, and hoping they fix it (suspect it is unlikely they would fix it though)
  • changing the plugin to use Confluence's storage format instead of wiki format
  • converting the format from wiki to storage on the fly, and then removing any <br /> tags

johnboyes added a commit that referenced this issue Oct 23, 2021
* Add workaround for linebreaks Confluence Cloud bug

This commit adds a workaround for #71, just for the Gauge specs in this
gauge-confluence repo.  The workaround is not to have any line breaks in
any paragraphs in the Gauge specs.

* Bump plugin patch version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant