I've taken on a nightmare of a job that involves reproducing a site built entirely of javascript running in a python wrapper(at least thats how I imagine it to work). The site index has a menu and a content area, clicking on stuff uses java to get resources and write them into the content area. The builds going great! But I've got a problem with pagination on a video gallery.
My pageNextTpl is:
<div id="next"></div>
<script type="text/javascript">
$(function()
{
setNext('[[+href]]');
var page_content_height = $('#page_content').height();
var bottom_align = 306 - page_content_height;$('#page_content').css('top', bottom_align +'px');
}
);
</script>
the generated page has the following in the script (sorry for the odd presentation the forum kept converting the & to a & when I posted).
setNext('nb/index.php?id=17&.AMP.;page=2');
for it to work this should be:
setNext('nb/index.php?id=17&page=2');
Is there anyway to change how the snippets code is being parsed? Would be a lifesaver if I can get it outputting the right string.