Display document import errors on iOS

This commit is contained in:
Anuken
2019-11-09 15:30:02 -05:00
parent fb15c44383
commit c70fb5940f
5 changed files with 9 additions and 5 deletions

View File

@@ -342,7 +342,7 @@ public class ContentParser{
init();
}
//add comments starting with ##, but ignore links
//add comments starting with //, but ignore links
json = json.replace("http://", "http:~~").replace("https://", "https:~~").replaceAll("//.*?\n","\n").replace("http:~~", "http://").replace("https:~~", "https://");
JsonValue value = parser.fromJson(null, json);