Maven Doxia

Add support for underscores

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-9
  • Fix Version/s: 1.1
  • Component/s: Sink API
  • Labels:
    None
  • Number of attachments :
    0

Activity

Hide
Lukas Theussl added a comment -

With DOXIA-204 we could also add a SinkEventAttributes parameter to the text() event and get underscores using a style attribute 'style="text-decoration: underline"'.Would this be sufficient or do you need explicit sink events?

Show
Lukas Theussl added a comment - With DOXIA-204 we could also add a SinkEventAttributes parameter to the text() event and get underscores using a style attribute 'style="text-decoration: underline"'.Would this be sufficient or do you need explicit sink events?
Hide
Vincent Massol added a comment -

This means that all text decorations would not have sink events anymore but would be text() event parameters. I think I like it.

Actually wikimodel does something similar with WikiFormat in http://wikimodel.googlecode.com/svn/trunk/org.wikimodel.wem/src/main/java/org/wikimodel/wem/IWemListener.java

The only thing I'd like to have is some helper methods so that as a user of the API I don't have to do any parsing at all to know the style of a text block and also maybe to set it.

Show
Vincent Massol added a comment - This means that all text decorations would not have sink events anymore but would be text() event parameters. I think I like it. Actually wikimodel does something similar with WikiFormat in http://wikimodel.googlecode.com/svn/trunk/org.wikimodel.wem/src/main/java/org/wikimodel/wem/IWemListener.java The only thing I'd like to have is some helper methods so that as a user of the API I don't have to do any parsing at all to know the style of a text block and also maybe to set it.
Hide
Lukas Theussl added a comment -

Done in r635929, using DOXIA-204.

Show
Lukas Theussl added a comment - Done in r635929, using DOXIA-204.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: