Maven Doxia

add a way to use standard HTML4/XHTML entities like α ∞ ∇ ...

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Labels:
    None
  • Environment:
    GNU/Linux
  • Number of attachments :
    0

Description

Trying to use standards entities in a xdoc file for xhtml generation seems impossible now.
If I put the entities as is in the file, I get an error at site generation because the entity is not known to Doxia. I did not find any way to declare the few entities I use, and since the xhtml generated is ISO8859-1 encoded, there would be a problem afterwards because they do not belong to this encoding.
If I try to escape the '&' character, either by using &nabla; or <![CDATA[∇]]>, the escape works well at site generation step, but is still there in the generated xhtml (on both cases I end up with &nabla.
I would like to have some intermediate behaviour, escaping a '&' from doxia parser but having it put verbatim in the generated xhtml file.
I am completely blocked here.

Activity

Hide
Luc Maisonobe added a comment -

since my issue deals with html entities, it's rendering in this JIRA page does not reflect what I tried to explain. Even looking at the source of the page is not what I wrote in the form
I will repeat below the phrase that has been crippled, but replacing the ampersand characters by at characters to avoid rendering issues.

If I try to escape the '@' character, either by using @ampersand;nabla; or <![CDATA[@nabla;]]>, the escape ...

Hope this is clear enough.

Show
Luc Maisonobe added a comment - since my issue deals with html entities, it's rendering in this JIRA page does not reflect what I tried to explain. Even looking at the source of the page is not what I wrote in the form I will repeat below the phrase that has been crippled, but replacing the ampersand characters by at characters to avoid rendering issues. If I try to escape the '@' character, either by using @ampersand;nabla; or <![CDATA[@nabla;]]>, the escape ... Hope this is clear enough.
Hide
Lukas Theussl added a comment -

This should be fixed in beta-1 with DOXIA-155.

Show
Lukas Theussl added a comment - This should be fixed in beta-1 with DOXIA-155.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: