Fix >4K truncation problem for CSLs, since this was never fixed
This commit is contained in:
parent
bd66f44e91
commit
41e1570e66
|
@ -668,6 +668,10 @@ Zotero.Schema = new function(){
|
||||||
* update the local csl table with the style data
|
* update the local csl table with the style data
|
||||||
**/
|
**/
|
||||||
function _styleXMLToDB(xmlnode){
|
function _styleXMLToDB(xmlnode){
|
||||||
|
// Don't split >4K chunks into multiple nodes
|
||||||
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=194231
|
||||||
|
xmlnode.normalize();
|
||||||
|
|
||||||
var sqlValues = [
|
var sqlValues = [
|
||||||
{string: xmlnode.getAttribute('id')},
|
{string: xmlnode.getAttribute('id')},
|
||||||
{string: xmlnode.getAttribute('updated')},
|
{string: xmlnode.getAttribute('updated')},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user