mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Merge a30e64c2f5 into 8c3b967bf9
This commit is contained in:
commit
c9f9db518b
2 changed files with 1 additions and 18 deletions
|
|
@ -310,23 +310,6 @@ Zotero.Cite = {
|
|||
// One of the characters is usually a period, so we can adjust this down a bit
|
||||
maxOffset = Math.max(1, maxOffset - 2);
|
||||
|
||||
// Force a minimum line height
|
||||
if(lineSpacing <= 1.35) lineSpacing = 1.35;
|
||||
|
||||
var style = div.getAttribute("style");
|
||||
if(!style) style = "";
|
||||
style += "line-height: " + lineSpacing + "; ";
|
||||
|
||||
if(hangingIndent) {
|
||||
if (multiField && !secondFieldAlign) {
|
||||
throw ("second-field-align=false and hangingindent=true combination is not currently supported");
|
||||
}
|
||||
// If only one field, apply hanging indent on root
|
||||
else if (!multiField) {
|
||||
style += "margin-left: 2em; text-indent:-2em;";
|
||||
}
|
||||
}
|
||||
|
||||
if(style) div.setAttribute("style", style);
|
||||
|
||||
// csl-entry
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<title>Bibliography</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="line-height: 1.35; padding-left: 2em; text-indent:-2em;" class="csl-bib-body">
|
||||
<div class="csl-bib-body">
|
||||
<div class="csl-entry">Rosenzweig, Roy. 2003. “Scarcity or Abundance? Preserving the Past in a Digital Era.” <i>The American Historical Review</i> 108 (3): 735–62. doi:10.2307/3523084.</div>
|
||||
<span class="Z3988" title="url_ver=Z39.88-2004&ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzotero.org%3A2&rft_id=info%3Adoi%2F10.2307%2F3523084&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Scarcity%20or%20Abundance%3F%20Preserving%20the%20Past%20in%20a%20Digital%20Era&rft.jtitle=The%20American%20Historical%20Review&rft.volume=108&rft.issue=3&rft.aufirst=Roy&rft.aulast=Rosenzweig&rft.au=Roy%20Rosenzweig&rft.date=2003-06&rft.pages=735-762&rft.spage=735&rft.epage=762&rft.issn=00028762"></span>
|
||||
</div></body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue