Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant