Skip to content

Commit

Permalink
Added MimeType.SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Oct 2, 2023
1 parent b279b84 commit 1b95a86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/dev/latvian/apps/webutils/html/Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

@SuppressWarnings({"unused", "UnusedReturnValue"})
public interface Tag extends TagConvertible {
@Override
default void appendHTMLTag(Tag parent) {
Expand Down Expand Up @@ -273,6 +274,7 @@ default Tag div(String classes) {
return div().classes(classes);
}

@SuppressWarnings("ConfusingMainMethod")
default Tag main() {
return paired("main");
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/dev/latvian/apps/webutils/net/MimeType.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ public interface MimeType {
String FORM = "application/x-www-form-urlencoded";
String XML = "application/xml; charset=utf-8";
String XML_TEXT = "text/xml; charset=utf-8";
String SVG = "image/svg+xml; charset=utf-8";
}

0 comments on commit 1b95a86

Please sign in to comment.