Wikia/app — pull request #19 by wikia-gregor (2012-10-26 11:41:35+00:00)
Title: BugId: 47944 - stripping paragraph html tag in editor when change from v...

When user put custom html paragraph in text mode, then switch to visual and switch to text mode again, reverse parser cut all p tags from article. I fix that by checking if there is any attribute (non data-rte- attribute) in that p tag - if parser finds any, then whole paragraph tag is added to source.