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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.7
    • Fix Version/s: 2.3.16
    • Component/s: Other
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: