Utility to assist the Ajax loading of HTML containing script tags that use document.write. Mailing List: http://groups.google.com/group/writecapturejs-users
writeCapture fails if the script has non space before the src attribute. this is probably incorrect behaviour on this publisher's part, but this maybe something writecapture could work around.
I modified attrPattern to
function attrPattern(name) {
return new RegExp('[\\s\\r\\n]?'+name+'=(?:(["\'])([\\s\\S]*?)\\1|([^\\s>]+))','i');
}
writeCapture fails if the script has non space before the src attribute. this is probably incorrect behaviour on this publisher's part, but this maybe something writecapture could work around.
I modified attrPattern to