Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2429

Script text added by RenderSupport.addScript() should be added raw (with XML elements not encoded as entities)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.12
    • Fix Version/s: 5.0.14
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In a component, I am using
      RenderSupport.addScript(str),
      where
      String str = "new tooltip(\"tooltipA\", \"<span
      id='tooltip1'>A tooltip over link<span>\", 10, 20,
      false,0)";

      But at the bottom of the rendered html, < and > are escaped and rendered as
      < and > respectively.

      Maybe RenderSupport.addScript should have an option to render raw text.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              matmsh Shing Hing Man
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: