Skip to content

Using ${} more than once gives a syntax error #157

Description

@row1

jQuery Templates Plugin 1.0.0pre

The below template causes a JavaScript syntax error:
<td>${} ${}</td>

Error on jquery.tmpl.js (line 359)
syntax error
var $=jQuery,call,__=[],$data=$item.da... {{=))));}__.push('</td>');}return __;

A workaround is to use:
<td>{{=}} {{=}}</td>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions