Compare commits
No commits in common. "8aa79c4a9c7e297f153392257ba0c4ded6022cc4" and "c8d3210b57993205b84238c65f0504a5e28001c9" have entirely different histories.
8aa79c4a9c
...
c8d3210b57
|
@ -198,11 +198,10 @@ 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.isNotBlank() }
|
.filter { it.isNotEmpty() }
|
||||||
.map {
|
.map {
|
||||||
val tag = if (!it.startsWith("#")) {
|
val tag = if (!it.startsWith("#")) {
|
||||||
"#$it"
|
"#$it"
|
||||||
|
|
Loading…
Reference in New Issue