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

fragment can't parse Chinese characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.6.0
    • 8.5.1.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S1

    Description

      Steps to Reproduce

      1. run the attached file

      Current Result

      Failed to parse the content: Lexical error on line 2. Unrecognized text.
      測試 <p><input
      -----^

      Expected Result

      no error

      Debug Information

      • <h1 title="測試"> test</h1> also failed

      workaround

      for using Chinese characters, apply zkFragmentContentParser.js

      Attachments

        1. fragment.zul
          0.4 kB
          hawk
        2. FragmentVM.java
          0.6 kB
          hawk
        3. zkFragmentContentParser.js
          46 kB
          hawk

        Activity

          People

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours Time Not Required
                2h