Commit f502ca15 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1705980: trim tag spaces when creating post"

parents 564e0ff0 45b2be03
......@@ -39,7 +39,7 @@ if (!$blogpost) {
$title = '';
$description = '';
$tags = explode(",", $tagselect);
$tags = array_map('trim', explode(",", $tagselect));
$checked = '';
$pagetitle = get_string('newblogpost', 'artefact.blog', get_field('artefact', 'title', 'id', $blog));
$focuselement = 'title';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment