Skip to content

Commit

Permalink
Merge pull request #1401 from ms609/GlazerMann-patch-8
Browse files Browse the repository at this point in the history
MEDIUM PRIORITY:  template cite is a real thing-convert it
  • Loading branch information
Martin R. Smith committed Mar 5, 2019
2 parents f995fc0 + ef7906c commit 6b61a78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public function parse_text($text) {
$this->param = NULL;
}
$this->initial_name = $this->name;
// Clean up outdated redirects
if ($this->name === 'cite') $this->name = 'citation';
if ($this->name === 'Cite') $this->name = 'Citation';

// extract initial parameters/values from Parameters in $this->param
if ($this->param) foreach ($this->param as $p) {
Expand Down

0 comments on commit 6b61a78

Please sign in to comment.