[
https://jira.codehaus.org/browse/DOXIA-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=323646#comment-323646
]
Robert Scholte commented on DOXIA-361:
--------------------------------------
I start to understand the confusion.
{{org.apache.maven.doxia.sink.XhtmlBaseSink.figure()}} is marked as deprecated,
but {{org.apache.maven.doxia.sink.Sink.figure()}} not.
This is a weird situation, where the implementation decided to deprecate a
method from the API.
So the {{ConfluenceParser}} can call {{figure()}} unless the {{XhtmlBaseSink}}
implementation is used.
We shouldn't accept special cases.
There are 2 options: deprecate {{org.apache.maven.doxia.sink.Sink.figure()}} or
fix {{org.apache.maven.doxia.sink.XhtmlBaseSink.figure()}}. Agree?
> Confluence: figure captions not rendered
> ----------------------------------------
>
> Key: DOXIA-361
> URL: https://jira.codehaus.org/browse/DOXIA-361
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Confluence
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Assignee: Robert Scholte
> Attachments: DOXIA-361.patch
>
>
> Figure captions seem to go into the <img alt=""> attribute, ie they are not
> rendered in the xhtml output.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira