On 08/09/2012 11:42 AM, Arioch wrote:
well, i did exactly the opposite, disables X1 so that
X2 would be used
everywhere.
i cannot check what syntax is used your online sandbox but i suppose your
sandbox is not updated since ever and is still in X1 markup.
And that made document import mix different markups.
No, as Marius said, the Sandbox is in the xwiki/2.0 syntax:
https://github.com/xwiki/xwiki-enterprise/blob/master/xwiki-enterprise-ui/s…
https://github.com/xwiki/xwiki-enterprise/blob/master/xwiki-enterprise-ui/s…
You can check locally, *before* editing and re-saving a document:
http://localhost:8080/xwiki/bin/view/Sandbox/?xpage=xml (check the
syntaxId element)
Here's the commit that changed the syntax, from almost three years ago:
https://github.com/xwiki/xwiki-enterprise/commit/022473e983635f1cfe06dd4261…
Can you paste the value for the xwiki.rendering.syntaxes setting from
your xwiki.cfg?
Do the XWiki 2.0 and 2.1 syntaxes appear in the syntax list in the
Document Information panel?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/