Skip to content

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

@row1

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>

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