Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-218

The XHTML serializer encodes style tag (but it shouldn't)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.4, 2.0.0 M3
    • None
    • Kernel
    • None

      When a page contains a <style> tag with quotes in it (" or '), they are encoded, and not interpreted correctly in the final page.
      The generated code looks like :

      url(&#039
      

      when it should be

      url("...")
      

      For the moment this can be prevented by using <xsl:comment> tag in the <style> tag (unless there are non-xsl tags inside the <style> tag).

          [RUNTIME-218] The XHTML serializer encodes style tag (but it shouldn't)

          Cédric Damioli made changes -
          Workflow Original: jira [ 11170 ] New: Ametys [ 12884 ]
          Julien Couret (Inactive) made changes -
          Project Import New: Thu May 28 17:04:11 UTC 2009 [ 1243530251015 ]
          Cédric Damioli made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Cédric Damioli made changes -
          Fix Version/s Original: 1.2.0 [ 10641 ]
          Fix Version/s New: 2.0.0 [ 11008 ]
          Sébastien Launay (Inactive) made changes -
          Fix Version/s New: 1.1.4 [ 11421 ]
          Fix Version/s New: 1.2.0 [ 10641 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Like script tag a comment is added around the content and is now written without &#XXX;.
          Fixed in trunk in revision 349 and in 1.1 branch in revision 350.

          Sébastien Launay (Inactive) added a comment - Like script tag a comment is added around the content and is now written without &#XXX;. Fixed in trunk in revision 349 and in 1.1 branch in revision 350.
          Nicolas Esteso (Inactive) created issue -

            cedric Cédric Damioli
            nesteso Nicolas Esteso (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: