Commit 190744aa authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1705980: trim tag spaces when creating post

After pressing New entry from a
Tagged journal entry block


Change-Id: Idb236e5d3bc5a10ab00f8a31f91da02ea8d4f606
(cherry picked from commit 45b2be03)
parent e56aa621
......@@ -39,7 +39,7 @@ if (!$blogpost) {
$title = '';
$description = '';
$tags = explode(",", $tagselect);
$tags = array_map('trim', explode(",", $tagselect));
$checked = '';
$pagetitle = get_string('newblogpost', '', 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