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

bug ticket http://redmine.openpne.jp/issues/3383
BP ticket http://redmine.openpne.jp/issues/3716