From: David ‘Bombe’ Roden Date: Wed, 8 Jun 2011 09:24:04 +0000 (+0200) Subject: Render more parts. X-Git-Tag: 0.6.5^2~9^2~14 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=103b02291b51a7c5465d665276ce111da87013cf;p=Sone.git Render more parts. --- 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); } }