diff --git a/core/htmlfilter.cpp b/core/htmlfilter.cpp
index 5627069..49f508a 100755
--- a/core/htmlfilter.cpp
+++ b/core/htmlfilter.cpp
@@ -1025,6 +1025,7 @@ void HTMLFilter::CheckExceptions()
IsLastTag("hr") ||
IsLastTag("img") ||
IsLastTag("link") ||
+ IsLastTag("param") ||
IsLastTag("area") )
{
LastItem().type = Item::simple;