record-and-playback: Encoded text coming from the slide for being used in thumbnails

This commit is contained in:
jfederico 2016-10-27 17:35:58 -04:00
parent 1db9b6326e
commit 64a4f4dc08

View File

@ -80,7 +80,7 @@ module BigBlueButton
if File.file?("#{textfiles_dir}/slide-#{slide_num}.txt")
text_from_slide = File.open("#{textfiles_dir}/slide-#{slide_num}.txt") {|f| f.readline}
unless text_from_slide == nil
text_from_slide = text_from_slide.strip
text_from_slide = text_from_slide.strip.encode(:xml => :text)
end
end
text_from_slide