Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7, 2.x
    • Component/s: Engine
    • Labels:
      None

      Description

      Given the following VTL:

      #set($var = "
      " )
      #set($var2 = "$

      {var}

      ")

      results in the following parse error:

      Encountered "${" at test.vm[line 2, column 15]
      Was expecting one of:
      <RPAREN> ...
      ...

      the problem is that when parsing the string literal "
      " the second double quote is escaped. This was actually a bug that was introduced in 1.6.x, but I don't think we necessarily need to fix it in that branch.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Byron Foster
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development