confluence.md icon indicating copy to clipboard operation
confluence.md copied to clipboard

Some Markdown format seems to be breaking Confluence

Open carlosjgp opened this issue 2 years ago • 4 comments

I'm seeing the same error as https://github.com/szn/confluence.md/issues/8

Markdown2 dependency has at least 2 new releases since the last confluence.md release with bug fix https://github.com/trentm/python-markdown2/blob/master/CHANGES.md

Maybe this could be fix by simply updating this dependency

carlosjgp avatar Sep 18 '23 09:09 carlosjgp

Looks like these are code blocks or even "code" format

` ` `
code block
` ` `

or inline code like

my phrase with `code`

https://community.atlassian.com/t5/Confluence-questions/Code-Macro-via-Confluence-REST-API/qaq-p/2097123

carlosjgp avatar Sep 18 '23 09:09 carlosjgp

Nope, I was wrong. The problem is a link with URL parameters on it

You would need to get access to [`PagerDuty` Application group](https://access-control.my.domain/access-request/new/?application_group=PagerDuty&permanent_access=true)

By changing this to

You would need to get access to `PagerDuty` Application group
- https://access-control.my.domain/access-request/new/?application_group=PagerDuty&permanent_access=true

the update goes through

carlosjgp avatar Sep 18 '23 13:09 carlosjgp

@carlosjgp I upgraded dependencies (see v.0.2.5). This didn't help. The problem is that for some reason atlassian python package has a problem with URL's with two parameters. The shortest example is:

[URL](https://sample.url/?a=1&b=2)

This is working:

[URL](https://sample.url/?a=1)

I am trying to debug the problem in the atlassian-python-api repo.

szn avatar Sep 19 '23 09:09 szn

Thanks!

carlosjgp avatar Oct 11 '23 09:10 carlosjgp