From 103b02291b51a7c5465d665276ce111da87013cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 8 Jun 2011 11:24:04 +0200 Subject: [PATCH] Render more parts. --- src/main/java/net/pterodactylus/sone/template/ParserFilter.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/template/ParserFilter.java b/src/main/java/net/pterodactylus/sone/template/ParserFilter.java index 02d12f0..2122feb 100644 --- a/src/main/java/net/pterodactylus/sone/template/ParserFilter.java +++ b/src/main/java/net/pterodactylus/sone/template/ParserFilter.java @@ -117,6 +117,14 @@ public class ParserFilter implements Filter { render(writer, (PlainTextPart) part); } else if (part instanceof FreenetLinkPart) { render(writer, (FreenetLinkPart) part); + } else if (part instanceof LinkPart) { + render(writer, (LinkPart) part); + } else if (part instanceof SonePart) { + render(writer, (SonePart) part); + } else if (part instanceof PostPart) { + render(writer, (PostPart) part); + } else if (part instanceof Iterable) { + render(writer, (Iterable) part); } } -- 2.7.4