Commit 45b2be03 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1705980: trim tag spaces when creating post

After pressing New entry from a
Tagged journal entry block

behatnotneeded

Change-Id: Idb236e5d3bc5a10ab00f8a31f91da02ea8d4f606
parent 05abaad2
......@@ -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';
......
Supports Markdown
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