Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1627

[PATCH] Permit the choice of attributes to augment in AugmentTransformer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.7
    • 2.1.9, 2.2
    • - Components: Sitemap
    • None
    • Operating System: All
      Platform: All
    • 36984

    Description

      Here is a patch againt 2.1.7 version augment transformer which add a
      "attributes" parameter which permit to choose the attributes to be augmented.
      Defaults to href if the parameter is not set:
      <map:transform type="augment">
        <map:parameter name="attributes" value="href src"/>
      </map:transform>

      Useful, for example, for <script type="text/javascript" src="path/to/js.js"/>.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--diff
          4 kB
          Aurélien DEHAY

        Activity

          People

            jbq Jean-Baptiste Quenot
            ad@zorel.org Aurélien DEHAY
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: