Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3264

client-attributes on xhtml element corrupt rendered html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.0.3
    • 8.0.2
    • ZK Client Engine
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S7

    Description

      With ZK-2957 client-attributes are enabled on xhtml elements.
      As the current implementation only assumes self closing tags, xhtml elements with children are not handled properly causing corrupted html output and JS errors.

      The attachment reproduces this case.

      the problem occurs here:
      https://github.com/zkoss/zk/blob/v8.0.2.1/zk/src/archive/web/js/zk/widget.js#L5329

      Attachments

        Issue Links

          Activity

            People

              wenninghsu wenninghsu
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h