diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 52ad220..c5f8445 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,15 +4,8 @@
-
-
-
+
-
-
-
-
-
@@ -124,15 +117,15 @@
-
-
+
+
+
+
-
+
-
-
-
+
@@ -294,6 +287,7 @@
+
diff --git a/src/main/kotlin/org/hmcore/Main.kt b/src/main/kotlin/org/hmcore/Main.kt
index 9a1feae..e7fc53b 100644
--- a/src/main/kotlin/org/hmcore/Main.kt
+++ b/src/main/kotlin/org/hmcore/Main.kt
@@ -43,7 +43,7 @@ object Main {
var content = ""
file.bufferedReader().readLines().forEach {
content += it
- .replace(",\"mentionedRole\":", ",\"type\":\"BLOGPOST\",\"mentionedRole\":")
+ .replace("""mentionedRole":""".toRegex(),"""type":"BLOGPOST","mentionedRole":""")
}
file.writeBytes(content.encodeToByteArray())
}