kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Other
977 stars 143 forks source link

Fix layout section attribute tags #401

Closed stephenpaulger closed 7 months ago

stephenpaulger commented 7 months ago

I was finding that without ac: prefix on the type attribute that the attribute was being ignored.

I wondered if the attribute had been expected without the prefix in other versions of confluence but is appears this is correct in all the versions currently documented.

Elsewhere in the mark codebase the ac: prefix used too. I've only tested this on a single confluence version but it seems like it should be correct for other versions.

mrueg commented 7 months ago

Thanks! I wonder how it worked for me before. :confused:

stephenpaulger commented 6 months ago

@mrueg I'm not sure but at a guess some versions of confluence might use a different XML parser that will make different assumptions about attribute prefixes. I only tested it on a quite old version.