repair the function that changes space into symbol +(fixes #3715, BP from #3383)

bug ticket https://redmine.openpne.jp/issues/3383
BP ticket https://redmine.openpne.jp/issues/3715