Better fix for content model issues, now dumping all live bound markup into a script tag before being slurped up into the link attributes