diff --git a/_layouts/bib.liquid b/_layouts/bib.liquid
index 5b58600..a92ee94 100644
--- a/_layouts/bib.liquid
+++ b/_layouts/bib.liquid
@@ -112,7 +112,7 @@
{% assign more_authors_show = more_authors_show | append: ', ' %}
{% endunless %}
{%- endfor -%}
- {% assign more_authors_show = more_authors_show | regex_replace: '([*∗†‡§¶‖&^]+)', '\1' %}
+ {%- assign more_authors_show = more_authors_show | regex_replace: '([*∗†‡§¶‖&^]+)', '\1' -%}
, and
{{entry.journal}}{% endcapture %}
{% elsif proceedings contains entry.type %}
- {% capture entrytype %}In {{entry.booktitle}} {% endcapture %}
+ {% capture entrytype %}In {{entry.booktitle}}{% endcapture %}
{% elsif thesis contains entry.type %}
- {% capture entrytype %}{{entry.school}} {% endcapture %}
+ {% capture entrytype %}{{entry.school}}{% endcapture %}
{% else %}
{% capture entrytype %}{% endcapture %}
{% endif %}