Compare commits
2 Commits
c8d3210b57
...
8aa79c4a9c
Author | SHA1 | Date |
---|---|---|
|
8aa79c4a9c | |
|
71a3c357e7 |
|
@ -198,10 +198,11 @@ class AudioContentService(
|
||||||
// 태그 분리, #추가, 등록
|
// 태그 분리, #추가, 등록
|
||||||
if (request.tags.isNotBlank()) {
|
if (request.tags.isNotBlank()) {
|
||||||
val tags = request.tags
|
val tags = request.tags
|
||||||
|
.replace("#", " #")
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map { it.trim() }
|
.map { it.trim() }
|
||||||
.filter { it.isNotEmpty() }
|
.filter { it.isNotBlank() }
|
||||||
.map {
|
.map {
|
||||||
val tag = if (!it.startsWith("#")) {
|
val tag = if (!it.startsWith("#")) {
|
||||||
"#$it"
|
"#$it"
|
||||||
|
|
Loading…
Reference in New Issue