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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.1.9, 2.2
    • Component/s: - Components: Sitemap
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: