trim whitespace when adding aliases
This commit is contained in:
parent
589bda1b00
commit
48e40a6712
@ -15,8 +15,8 @@ class AddAliasEvent extends Event {
|
||||
var $newtag;
|
||||
|
||||
public function AddAliasEvent($oldtag, $newtag) {
|
||||
$this->oldtag = $oldtag;
|
||||
$this->newtag = $newtag;
|
||||
$this->oldtag = trim($oldtag);
|
||||
$this->newtag = trim($newtag);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user