Merge pull request #3 from multim-dev/feature/emoji-list
fix: unqualified
This commit is contained in:
commit
c3d5a61ea3
|
@ -50,7 +50,7 @@ class EmojiPlugin : Plugin<Project> {
|
||||||
else -> {
|
else -> {
|
||||||
val description = s.substringAfterLast("E").substringAfter(" ")
|
val description = s.substringAfterLast("E").substringAfter(" ")
|
||||||
val status = s.substringAfter(";").substringBefore("#").trim()
|
val status = s.substringAfter(";").substringBefore("#").trim()
|
||||||
if (!(description.contains("skin tone")&&status.equals("unqualified"))) {
|
if (!description.contains("skin tone") && !status.contains("unqualified")) {
|
||||||
|
|
||||||
val code =
|
val code =
|
||||||
s.substringBefore(";").replace(Regex(" +"), " ").trim()
|
s.substringBefore(";").replace(Regex(" +"), " ").trim()
|
||||||
|
|
Loading…
Reference in New Issue