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 generation error on specific code section patterns #362

Closed
seburdin opened this issue Jan 13, 2023 · 2 comments
Closed

Confluence generation error on specific code section patterns #362

seburdin opened this issue Jan 13, 2023 · 2 comments
Labels

Comments

@seburdin
Copy link

Describe the bug
Generation of confluence content failing on specific code contents.

To Reproduce
Steps to reproduce the behavior:

  1. create a md document containing code
public class Interceptor {

   private String name;
   private Rule primary;
   private List<Rule> secondary;
}

2.Generate confluence report with daux version >= 0.21.0

3.Generation fails with following message:

Content: 
 16 |    private List<rule> secondary;
 17 | }
>18 | ]]></rule></ac:plain-text-body></ac:structured-macro>
             ^
 19 | <p>Each <code>Rule</code> contains a <code>Conditions</code> object which comes with the following 3 flavors:</p>
 20 | <ac:structured-macro ac:name="code"><ac:parameter ac:name="language">java</ac:parameter><ac:plain-text-body><![CDATA[public class Rule {    [ FAIL ]

Expected behavior
Confluence page generated with code snippet

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Linux]
  • Browser [chrome]
onigoetz added a commit that referenced this issue Jan 13, 2023
onigoetz added a commit that referenced this issue Jan 13, 2023
@onigoetz
Copy link
Contributor

Thanks for the report, I was able to reproduce and fix this issue :

image

@onigoetz onigoetz added the bug label May 11, 2023
@onigoetz
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants