Skip to content

[DOXIA-767] Clarify block vs inline semantics with regards to whitespaces in Sink API #882

@jira-importer

Description

@jira-importer

Konrad Windszus opened DOXIA-767 and commented

The javadoc of https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html should be clarified with regards to trimming whitespace behaviour for block/inline elements. Not necessarily each block Sink element is a block element in the desired output format (e.g. XHTML). Most prominently this is the case with

Sink.verbatim(Decoration:source) which is a block element in Sink API but opens an inline element (<pre><code>) in XHTML.

See https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Whitespace.


Issue Links:

  • DOXIA-764 XDoc source has a spurious new line at the beginning

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions