Use txt extension for shc fragment

This commit is contained in:
dotasek 2023-09-29 11:00:01 -04:00
parent 7548ea37ae
commit c2071379f4
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class SHCParser extends ParserBase {
byte[] content = TextFile.streamToBytes(inStream);
ByteArrayInputStream stream = new ByteArrayInputStream(content);
List<ValidatedFragment> res = new ArrayList<>();
ValidatedFragment shc = new ValidatedFragment("shc", "json", content, false);
ValidatedFragment shc = new ValidatedFragment("shc", "txt", content, false);
res.add(shc);
String src = TextFile.streamToString(stream).trim();