Fixed bug in "conversation" importing where <section> and <dialog> tags were not being closed.

This commit is contained in:
shoaibkamil 2011-05-11 22:06:53 -07:00
parent f808c98232
commit 1f4dd4ed61
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module Jekyll
content << "<dt>" + line['label'] + "</dt><dd>" + line.inner_html + "</dd>" unless line['label'] == nil || line == nil content << "<dt>" + line['label'] + "</dt><dd>" + line.inner_html + "</dd>" unless line['label'] == nil || line == nil
end end
content << "<section><dialog>" content << "</section></dialog>"
elsif post['type'] == "video" elsif post['type'] == "video"
title = post.at("video-title").inner_html unless post.at("video-title") == nil title = post.at("video-title").inner_html unless post.at("video-title") == nil
content = CGI::unescapeHTML(post.at("video-player").inner_html) content = CGI::unescapeHTML(post.at("video-player").inner_html)