Skip to content

Commit

Permalink
Fix space before some bib commas (alshedivat#2552)
Browse files Browse the repository at this point in the history
These somehow appeared when upgrading from v0.11.0 to v0.12.0.
  • Loading branch information
sim642 authored Jul 9, 2024
1 parent 20bf065 commit 28acc37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _layouts/bib.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
{% assign more_authors_show = more_authors_show | append: ', ' %}
{% endunless %}
{%- endfor -%}
{% assign more_authors_show = more_authors_show | regex_replace: '([*∗†‡§¶‖&^]+)', '<sup>\1</sup>' %}
{%- assign more_authors_show = more_authors_show | regex_replace: '([*∗†‡§¶‖&^]+)', '<sup>\1</sup>' -%}
, and
<span
class="more-authors"
Expand Down Expand Up @@ -151,9 +151,9 @@
{% if entry.type == 'article' %}
{% capture entrytype %}<em>{{entry.journal}}</em>{% endcapture %}
{% elsif proceedings contains entry.type %}
{% capture entrytype %}<em>In {{entry.booktitle}}</em> {% endcapture %}
{% capture entrytype %}<em>In {{entry.booktitle}}</em>{% endcapture %}
{% elsif thesis contains entry.type %}
{% capture entrytype %}<em>{{entry.school}}</em> {% endcapture %}
{% capture entrytype %}<em>{{entry.school}}</em>{% endcapture %}
{% else %}
{% capture entrytype %}{% endcapture %}
{% endif %}
Expand Down

0 comments on commit 28acc37

Please sign in to comment.