Skip to content
Snippets Groups Projects
Commit 2b49065d authored by Lars Brodin Østby's avatar Lars Brodin Østby Committed by Eirik Steira
Browse files

single image upload tag string fix

parent cce4658f
No related branches found
No related tags found
2 merge requests!104Weekly merge to Master,!75Single photo upload
......@@ -154,7 +154,7 @@ public class UploadedSingle implements Initializable {
*/
public List<String> tagStringSplit(TextField photo_tag) {
String tagTekst = photo_tag.toString();
List<String> tags = Arrays.asList(tagTekst.split(" #"));
return tags;
return Arrays.asList(tagTekst.split("(?=#)"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment