Feature: support any tag separator

So it allows to have multiple words tags.

Breaking change: commas ',' are no longer a default separator.

Fixes 
This commit is contained in:
ArthurHoaro 2020-10-22 16:21:03 +02:00
parent 48df9f45b8
commit b3bd8c3e8d
38 changed files with 585 additions and 114 deletions
application/legacy

View file

@ -585,7 +585,7 @@ class LegacyUpdater
$linksArray = new BookmarkArray();
foreach ($this->linkDB as $key => $link) {
$linksArray[$key] = (new Bookmark())->fromArray($link);
$linksArray[$key] = (new Bookmark())->fromArray($link, $this->conf->get('general.tags_separator', ' '));
}
$linksIo = new BookmarkIO($this->conf);
$linksIo->write($linksArray);