Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5830

setEscapeModelStrings false results in multiple tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • 6.12.0, 6.19.0
    • None
    • wicket
    • Windows 7 x64

    Description

      When setting a label's content to be "<p>This should work</p>" and setting setEscapeModelStrings to false, it renders as:
      <p class="test-class" wicket:id="escapedLabel"></p>
      <p></p>
      <p>This should work</p>

      This leads to issues when trying to style based on "test-class".

      Attachments

        1. WicketQuickStart.zip
          51 kB
          Jesse Bonzo

        Activity

          People

            Unassigned Unassigned
            vitiate Jesse Bonzo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: