I am using a template underline pattern with mustache formatting patterns.
I have already successfully used it elsewhere in the project, but this is the first time I'm using mustache cycle list templates to populate a template that throws an error that I'm a little puzzled with. Error in chrome:
"Uncaught SyntaxError: Unexpected token ILLEGAL"
and indicates the underline of the template function in backtrace, which is pretty useless, but in firebug I get a more useful error, for example:

The assumption that the hash symbol "#" is a problem, which makes sense, since I know that the mustache works fine, as many other parts of the project use it well, this is also the first time I use hash sybol in my templates. This seems like a problem with either the loop function or the interpolation / pattern settings for underlining.
Here is the corresponding snippet of my template:
<div class="thumblist thumblistleft" id="currentprojectslist"> <div class="thumb-list-header"> <h2>current projects</h2> </div> <div class="thumb-list-area"> <ol> {{#worklist}} {{#current}} <li><a>{{title}}</a></li> {{/current}} {{/worklist}} </ol> </div> </div>
and here is a sample JSON (which checks everything fine)
{blah blah blah lot in here before,"worklist":[{"thumb":"img/project-s.jpg","id":"340","title":"Test Project One","desc":"big load of content here","current":true}], and so on....}
First I used this example for reference: http://mustache.github.com/#demo
NOW HERO WHERE I THINK THAT THE PROBLEM MAY BE:
underscore.js suggests using this before rendering the mustache pattern:
_.templateSettings = { evaluate : /\{\[([\s\S]+?)\]\}/g, interpolate : /\{\{([\s\S]+?)\}\}/g };
and
interpolate : /\{\{(.+?)\}\}/g
Also just an interpolation operator, ive tried both. However, my knowledge of regex is really poor, and do I have the feeling that it cannot place a hash? Anyway ... I'm completely at a standstill. Can anyone help me here?
Is it even possible to go in cycles? looking at the source of the underscore, I'm not sure: http://documentcloud.github.com/underscore/docs/underscore.html#section-120
Many thanks