Skip to content

Commit

Permalink
Removed space in year only citation (#5218)
Browse files Browse the repository at this point in the history
When author name is suppressed in in-line citation, a space would be prefixed before year. This commit removes that space.
  • Loading branch information
rknx committed Jan 17, 2021
1 parent 13e8c6b commit 502970a
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions american-phytopathological-society.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<name>Steve Kronmiller</name>
<email>skronmiller@scisoc.org</email>
</contributor>
<contributor>
<name>Anuj Sharma</name>
<email>rknx@outlook.com</email>
</contributor>
<category citation-format="author-date"/>
<summary>The American Phytopathological Society style.</summary>
<updated>2012-09-27T22:06:38+00:00</updated>
Expand Down Expand Up @@ -80,18 +84,16 @@
</group>
</macro>
<macro name="year-date">
<group prefix=" ">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</group>
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
Expand Down

0 comments on commit 502970a

Please sign in to comment.