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

client-attributes on xhtml element corrupt rendered html

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:

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