Last modified: 2013-11-22 20:40:41 UTC
Connected to 56981 and possibly other situations In this topic http://ee-flow.wmflabs.org/w/index.php?title=User_talk:Quiddity&workflow=0506915cf3d0b62ef835fa163e68c4ac&action=view the unclosed <small> element in the post by PiRSquared17 is preventing any of the posts after it from being collapsed.
Yes, if there's unbalanced tag like small then additional following posts are nested inside <small> (leading to bug 56981), and the topic collapse only makes immediate child '.flow-post-container's of the topic invisible. The short-term fix could be $hideElement = $topicContainer.find( '.flow-post-container' ) so even messed up HTML is hidden, but ideally each Flow post should be balanced HTML. (Forum software, RSS readers, and blog aggregators have been struggling with this for decades.)
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/456, but people from the community are welcome to contribute here and in Gerrit.
WONTFIX because this "shouldn't happen", and the specific bug causing the problem is fixed.