Uploaded image for project: 'Maven Doxia Tools'
  1. Maven Doxia Tools
  2. DOXIATOOLS-84

Emit Velocity statements in special Sink events which prevent wrong escaping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Doxia Converter
    • None

    Description

      Velocity is often used together with markup (https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering). When parsing markup including Velocity statements (directives, references and comments) those are included in the regular Sink.text(...) event. Therefore it is often incorrectly escaped when being emitted by a Sink.

      Although usually Velocity is supposed to be executed before markup is passed to a parser, there are cases where one wants to retain the Velocity statements and references in the markup (e.g. for converting from one format to another with https://maven.apache.org/doxia/doxia-tools/doxia-converter/).

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: