forked from Aspen-Discovery/aspen-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Prevent abbreviation from displaying if replace fails
Placeholder replacements failed if placeholders in text were altered during text manipulation.
- Loading branch information
1 parent
e0bfc4d
commit 772ec43
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{if !empty($citeDetails.authors)}{$citeDetails.authors|escape} {/if} | ||
{if !empty($citeDetails.year)}({$citeDetails.year|escape}). {/if} | ||
<span style="font-style:italic;">{$citeDetails.title|escape}</span> | ||
{if !empty($citeDetails.edition)} {$citeDetails.edition|escape} {/if} | ||
{if !empty($citeDetails.publisher)}{$citeDetails.publisher|escape}. {/if} | ||
{if !empty($harvardDetails.authors)}{$harvardDetails.authors|escape} {/if} | ||
{if !empty($harvardDetails.year)}({$harvardDetails.year|escape}). {/if} | ||
<span style="font-style:italic;">{$harvardDetails.title|escape}</span> | ||
{if !empty($harvardDetails.edition)} {$harvardDetails.edition|escape} {/if} | ||
{if !empty($harvardDetails.publisher)}{$harvardDetails.publisher|escape}. {/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters