From d934942b019a905279fe2bcd496b88f220414d8d Mon Sep 17 00:00:00 2001 From: Marcos Pereira Date: Wed, 25 Sep 2024 07:27:35 -0400 Subject: [PATCH] docs: fix broken links (#379) --- README.md | 2 +- docs/index.md | 2 +- docs/maven-plugin.md | 2 +- jte/src/main/java/gg/jte/compiler/TemplateParser.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fdb8ee6d..e228fc5e 100644 --- a/README.md +++ b/README.md @@ -48,4 +48,4 @@ Documentation lives in the [jte website](https://jte.gg/). [intellij-plugin]: https://plugins.jetbrains.com/plugin/14521-jte "IntelliJ jte Plugin" [template-benchmark]: https://github.com/casid/template-benchmark/ "Template Benchmarks" -[maven-central]: https://search.maven.org/artifact/gg.jte/jte "jte in Maven Central" +[maven-central]: https://central.sonatype.com/artifact/gg.jte/jte "jte in Maven Central" diff --git a/docs/index.md b/docs/index.md index 5c3141af..d1772588 100644 --- a/docs/index.md +++ b/docs/index.md @@ -281,4 +281,4 @@ This is the same benchmark as above, but the amount of threads was set to `#!jav [intellij-plugin]: https://plugins.jetbrains.com/plugin/14521-jte "IntelliJ JTE Plugin" [template-benchmark]: https://github.com/casid/template-benchmark/ "Template Benchmarks" -[maven-central]: https://search.maven.org/artifact/gg.jte/jte "jte in Maven Central" +[maven-central]: https://central.sonatype.com/artifact/gg.jte/jte "jte in Maven Central" diff --git a/docs/maven-plugin.md b/docs/maven-plugin.md index 8dda5d4e..4b861707 100644 --- a/docs/maven-plugin.md +++ b/docs/maven-plugin.md @@ -221,6 +221,6 @@ An application jar with generated classes can be built into a native binary usin ``` -[jte-maven-compiler-plugin]: https://search.maven.org/artifact/gg.jte/jte-maven-plugin +[jte-maven-compiler-plugin]: https://central.sonatype.com/artifact/gg.jte/jte-maven-plugin [html-policy]: https://www.javadoc.io/doc/gg.jte/jte-runtime/{{ latest-git-tag }}/gg.jte.runtime/gg/jte/html/HtmlPolicy.html [constants-package-name]: https://www.javadoc.io/doc/gg.jte/jte-runtime/{{ latest-git-tag }}/gg/jte.runtime/gg/jte/Constants.html#PACKAGE_NAME_PRECOMPILED \ No newline at end of file diff --git a/jte/src/main/java/gg/jte/compiler/TemplateParser.java b/jte/src/main/java/gg/jte/compiler/TemplateParser.java index 7ab9a0ee..61640db6 100644 --- a/jte/src/main/java/gg/jte/compiler/TemplateParser.java +++ b/jte/src/main/java/gg/jte/compiler/TemplateParser.java @@ -1111,7 +1111,7 @@ public Indent(Mode mode, int amount) { public static class HtmlTag implements gg.jte.html.HtmlTag { - // See https://www.lifewire.com/html-singleton-tags-3468620 + // See https://developer.mozilla.org/en-US/docs/Glossary/Void_element private static final Set VOID_HTML_TAGS = Set.of("area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"); public final String name;