From 0cd2289eea62bbfef3d1837ea0f9f7101a2a8746 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 15 Sep 2012 16:40:35 -0400
Subject: [PATCH] MediaWiki parser: Improved endline to stop bad breaks.

---
 src/Text/Pandoc/Readers/MediaWiki.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs
index 51fc845a3..f6192ffc6 100644
--- a/src/Text/Pandoc/Readers/MediaWiki.hs
+++ b/src/Text/Pandoc/Readers/MediaWiki.hs
@@ -505,8 +505,6 @@ endline = () <$ try (newline <*
                      notFollowedBy' hrule <*
                      notFollowedBy tableStart <*
                      notFollowedBy' header <*
-                     notFollowedBy' template <*
-                     notFollowedBy' (htmlTag isBlockTag') <*
                      notFollowedBy anyListStart)
 
 image :: MWParser Inlines