Fix URL for external links.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 17 Dec 2012 20:37:24 +0000 (21:37 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 17 Dec 2012 20:37:24 +0000 (21:37 +0100)
src/main/java/net/pterodactylus/sone/template/ParserFilter.java

index 75eff8b..d6b64ba 100644 (file)
@@ -213,7 +213,7 @@ public class ParserFilter implements Filter {
         *            The part to render
         */
        private void render(Writer writer, LinkPart linkPart) {
-               renderLink(writer, "/?_CHECKED_HTTP_=" + linkPart.getLink(), linkPart.getText(), linkPart.getTitle(), "internet");
+               renderLink(writer, "/external-link/?_CHECKED_HTTP_=" + linkPart.getLink(), linkPart.getText(), linkPart.getTitle(), "internet");
        }
 
        /**