Cocoon
  1. Cocoon
  2. COCOON-1627

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

      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"/>.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jean-Baptiste Quenot
            Reporter:
            Aurélien DEHAY
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development