Forum:Youtube extension needs empty div tags to allow paragraph breaks and to fix caption placement

Youtube extension and paragraph breaks
Help! Blank lines are not producing paragraphs here:
 * http://cannabis.wikia.com/wiki/Rome,_Italy#2009

The report in that 2009 section is one huge paragraph. But in the wikitext there are a number of blank lines to break it up. Something is broken at Wikia. :)

Look at the wikitext in that section to see the blank lines. There are no spaces on those blank lines either. --Timeshifter 01:08, April 3, 2012 (UTC)


 * The problem seems to be caused by the tags in that section. Oddly, adding an empty   after the tags returns the paragraphs to normal. --Gardimuer { ʈalk } 14:34, April 3, 2012 (UTC)


 * Mostly likely, even though they take up alot of space, the youtube tags are inline, so they don't add a linebreak themselves. -- Fandyllic (talk &middot; contr) 3 Apr 2012 1:30 PM Pacific

(unindent). Thanks all. I am going to leave it broken for now. I left a note on the talk page for this extension:
 * http://www.mediawiki.org/wiki/Extension_talk:YouTube_(Iubito)

What exactly in the current extension code is causing the problem? Any ideas? --Timeshifter 03:20, April 4, 2012 (UTC)


 * I decided to fix the problem. Here is the revision showing the problem:
 * http://cannabis.wikia.com/wiki/Rome,_Italy?oldid=41079#2009


 * Here is the diff showing the addition of   that fixes the problem. --Timeshifter 05:37, April 21, 2012 (UTC)

Caption placement also fixed by empty div tags
I just noticed that  tags no longer work right with videos placed with the Youtube extension. The addition of   at the end of the video wikitext fixes the problem. See the wikitext for the videos in this page and section:
 * http://cannabis.wikia.com/wiki/Lima,_Peru#2011

I pointed out the problem and solution here:
 * http://www.mediawiki.org/wiki/Extension_talk:YouTube_(Iubito) --Timeshifter 11:32, May 8, 2012 (UTC)