From 22bb27af24d4e5cbe4d9876557ff94f55d1a9fd2 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 21 Apr 2022 19:28:12 -0500 Subject: [PATCH] Make it look nicer if you decide to view the source for some reason Yes I know this is useless --- .../dev/plex/request/impl/SchematicDownloadEndpoint.java | 8 ++++---- src/main/resources/httpd/schematic_download.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/dev/plex/request/impl/SchematicDownloadEndpoint.java b/src/main/java/dev/plex/request/impl/SchematicDownloadEndpoint.java index 71d1580..0a6645f 100644 --- a/src/main/java/dev/plex/request/impl/SchematicDownloadEndpoint.java +++ b/src/main/java/dev/plex/request/impl/SchematicDownloadEndpoint.java @@ -79,10 +79,10 @@ public class SchematicDownloadEndpoint extends AbstractServlet for (File worldeditFile : alphabetical) { String sanitizedName = worldeditFile.getName().replaceAll("<","<").replaceAll(">",">"); - sb.append("" + - "" + sanitizedName + "" + - "" + formattedSize(worldeditFile.length()) + "" + - ""); + sb.append(" \n" + + " \n " + sanitizedName + "\n \n" + + " \n " + formattedSize(worldeditFile.length()) + "\n \n" + + " \n"); } file = file.replace("${schematics}", sb.toString()); } diff --git a/src/main/resources/httpd/schematic_download.html b/src/main/resources/httpd/schematic_download.html index 95c86d9..814556c 100644 --- a/src/main/resources/httpd/schematic_download.html +++ b/src/main/resources/httpd/schematic_download.html @@ -15,7 +15,7 @@ SCHEMATICS - ${schematics} +${schematics}