Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3938

s:include problem with hrml comment <!-- -->

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.3.7
    • 2.3.16
    • Other

    Description

      in my layout.jsp I have

      <html>
      <head>
      <s:include value="../include/pippo.jsp" />
      </head>

      if, in pippo.jsp I have an HTML comment with include a character with accent è|ì|ò|à then result html code is missing the "-->"

      Example pippo.jsp
      --------------------------
      <!-- è -->
      --------------------------

      The resulting HTML is
      --------------------------
      <!--
      </head>
      --------------------------

      Is missing the "-->" part of the comment so all the rest is like included in a comment.

      The previous version of struts2 was not doing it.

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              rsorrt Rsorrt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: