Fix >4K truncation problem for CSLs, since this was never fixed

This commit is contained in:
Dan Stillman 2007-04-25 23:09:53 +00:00
parent bd66f44e91
commit 41e1570e66

View File

@ -668,6 +668,10 @@ Zotero.Schema = new function(){
* update the local csl table with the style data
**/
function _styleXMLToDB(xmlnode){
// Don't split >4K chunks into multiple nodes
// https://bugzilla.mozilla.org/show_bug.cgi?id=194231
xmlnode.normalize();
var sqlValues = [
{string: xmlnode.getAttribute('id')},
{string: xmlnode.getAttribute('updated')},