jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Doxia
  • DOXIA-170

Confluence module should do something with non-doxia formatting

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0-alpha-8
  • Fix Version/s: None
  • Component/s: Module - Confluence
  • Labels:
    None

Description

These wiki formats are not recognised citation strikethrough underlined superscript subscript

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Vincent Massol added a comment - 21/Oct/07 11:05 AM

The strikethrough and underline ones are duplicates of DOXIA-163 and DOXIA-164

Show
Vincent Massol added a comment - 21/Oct/07 11:05 AM The strikethrough and underline ones are duplicates of DOXIA-163 and DOXIA-164
Hide
Permalink
Dave Syer added a comment - 21/Oct/07 11:41 AM

Strictly speaking I wouls argue that is not the case, since DOXIA-163 and DOXIA-164 are Sink API issues. I meant that the Confluence module should recognise those annotations even if it can't render them properly because of limitations in another API.

Show
Dave Syer added a comment - 21/Oct/07 11:41 AM Strictly speaking I wouls argue that is not the case, since DOXIA-163 and DOXIA-164 are Sink API issues. I meant that the Confluence module should recognise those annotations even if it can't render them properly because of limitations in another API.
Hide
Permalink
Lukas Theussl added a comment - 15/Feb/08 6:46 AM

Could you specify what you mean with 'do something' and 'recognize'? If the confluence parser can't emit an event to a sink, then what's the point in recognizing it? What else do you want to do with it?

Show
Lukas Theussl added a comment - 15/Feb/08 6:46 AM Could you specify what you mean with 'do something' and 'recognize'? If the confluence parser can't emit an event to a sink, then what's the point in recognizing it? What else do you want to do with it?
Hide
Permalink
Dave Syer added a comment - 15/Feb/08 6:55 AM - edited

I think it should render to something that is readable. In the case of citation and underline, the intention of the author was to highlight the text, so citation->italic, underline->italic/bold makes sense. Strikethrough is difficult because the intention of the author is to show something that is visible but can be ignored. Maybe a special bracket construct like [ignore]...[/ignore]? Superscript and subscript could be rendered as ^(...) and _(...).

Show
Dave Syer added a comment - 15/Feb/08 6:55 AM - edited I think it should render to something that is readable. In the case of citation and underline, the intention of the author was to highlight the text, so citation->italic, underline->italic/bold makes sense. Strikethrough is difficult because the intention of the author is to show something that is visible but can be ignored. Maybe a special bracket construct like [ignore]...[/ignore]? Superscript and subscript could be rendered as ^(...) and _(...).
Hide
Permalink
Lukas Theussl added a comment - 15/Feb/08 7:26 AM

What's happening currently with the content of these elements, are they swallowed? If yes I guess we should at least output the text content as plain text, so no information is lost.

Show
Lukas Theussl added a comment - 15/Feb/08 7:26 AM What's happening currently with the content of these elements, are they swallowed? If yes I guess we should at least output the text content as plain text, so no information is lost.
Hide
Permalink
Dave Syer added a comment - 15/Feb/08 7:37 AM

I imagine they are not lost as things are, but they also won't come out in HTML anything like the author intended. They will come out with the formatting characters from confluence, which might mean something to the author, but will be nonsense to the reader.

Show
Dave Syer added a comment - 15/Feb/08 7:37 AM I imagine they are not lost as things are, but they also won't come out in HTML anything like the author intended. They will come out with the formatting characters from confluence, which might mean something to the author, but will be nonsense to the reader.
Hide
Permalink
Lukas Theussl added a comment - 15/Feb/08 8:44 AM

OK, thanks for the clarification. I have scheduled this for a later release for now, but if anyone attaches a patch (hint!) we can incorporate this easily.

Just bear in mind that the parser events should be consumable by any type of sink, eg I think citation->italic, underline->bold makes perfect sense, however inserting special markup might lead to trouble later, so just output plain text would be enough IMO.

Show
Lukas Theussl added a comment - 15/Feb/08 8:44 AM OK, thanks for the clarification. I have scheduled this for a later release for now, but if anyone attaches a patch (hint!) we can incorporate this easily. Just bear in mind that the parser events should be consumable by any type of sink, eg I think citation->italic, underline->bold makes perfect sense, however inserting special markup might lead to trouble later, so just output plain text would be enough IMO.
Hide
Permalink
Lukas Theussl added a comment - 11/Mar/08 9:11 AM

strikethrough, underlined, superscript and subscript are now supported via SinkEventAttributes, see DOXIA-163. The confluence parser just needs to be adapted to emit the correct attributes.

Show
Lukas Theussl added a comment - 11/Mar/08 9:11 AM strikethrough, underlined, superscript and subscript are now supported via SinkEventAttributes, see DOXIA-163. The confluence parser just needs to be adapted to emit the correct attributes.

People

  • Assignee:
    Lukas Theussl
    Reporter:
    Dave Syer
Vote (0)
Watch (0)

Dates

  • Created:
    21/Oct/07 7:23 AM
    Updated:
    11/Apr/11 4:51 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.