When using an empty DIV tag in the Rich Text Field, the tag is amended to become self-closing after saving the component.
Content provided in the RTF field:
<div class="youtube"></div>
Content after saving the RTF field:
<div class="youtube"/>
Resolution
Workaround: Add HTML comments or non-breaking space between the DIV tags.
Root Cause
We currently use a 3rd party tool\plugin to help with the formatting of RTF fields, this is called Tidy (http://tidy.sourceforge.net/) and there is currently no way to help resolve this issue long term.