Uploaded image for project: 'NorthernWind'
  1. NorthernWind
  2. NW-96

XsltMacroFilter breaks some JavaScript-based features

Attach ScreenshotClone
    XMLWordPrintable

    Details

      Description

      Since XsltMacroFilter renormalizes the XHTML it processes, it can break some JavaScript-based features relying on HTML code. For instance, code such as <a href="#"></a> is transformed into <a href="#"/>, <script href="..."></script> is transformed in <script href="..."/>, etc.

      The current workaround is to have some JS-sensible resources stored in .html files instead of .xhtml, so they are not filtered. A better way has to be found, for instance putting a

      <!-- @nw.XsltMacroFilter.enabled = false -->

        Attachments

          Activity

            People

            • Assignee:
              fabrizio.giudici Fabrizio Giudici
              Reporter:
              fabrizio.giudici Fabrizio Giudici
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: