Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-8
-
Fix Version/s: 1.1
-
Component/s: Module - Confluence
-
Labels:None
-
Number of attachments :
Description
The "quote" and "code" macros in Confluence should do something worthwhile in Doxia. They seem to only generate errors.
Attached patch (code-patch.txt) including test for code macro, and bug fix for problem with anchor at end of line (StringOutOfBoundsException). I recommend applying this patch and leaving this issue open for further discussion.
The quote macro involves perhaps a more difficult decision. There are lots of nice formatting tricks with confluence (quote, tip, note, info}. My suggestion would be to render them in Doxia as definition lists with one item, since this is already quite a common usage of definition lists in less rich markups (like Apt). Since there is no equivalent of a DL in Confluence (as far as I know) it kind of makes sense - but would require some care if anyone ever gets round to creating a Confluence Sink.
The DT of a definitio nlist could be "Quote", "Tip" etc. But that creates i18n issues. Plexus has an i18n utility that for sure ought to be usable, but I wouldn't know the details. This raises the point generally of how a module like this can be configured in a project pom when building a site?