confluence-to-markdown-converter
confluence-to-markdown-converter copied to clipboard
Conversion fails for (non well-formed) XML obtained from "View Source"
It seems that in current versions of Confluence, the storage format and the format shown in "View Source" is no longer well-formed XML. There are no XML declaration, no root element, and no namespace declarations. In this way, it obviously can't be converted.
However, it is very simple to make it valid XML. Everything that needs to be done is to add
<?xml version="1.0" encoding="UTF-8"?>
<ac:confluence xmlns:ac="http://www.atlassian.com/schema/confluence/4/ac/" xmlns:ri="http://www.atlassian.com/schema/confluence/4/ri/" xmlns="http://www.atlassian.com/schema/confluence/4/">
above the copied content, plus the following below:
</ac:confluence>
Is this the same for you? Should we add a note in the README.md with instructions how to use the project in this case?