spec/to_html/footnote_spec.rb in polytexnic-1.1.beta1 vs spec/to_html/footnote_spec.rb in polytexnic-1.1.beta2
- old
+ new
@@ -164,6 +164,15 @@
</div>
EOS
end
it { should resemble output }
end
+
+ describe "emphasis inside footnote" do
+ let(:polytex) do <<-'EOS'
+ \chapter{Lorem}
+ Lorem ipsum\footnote{Dolor \emph{sit}} amet. Consectetur.
+ EOS
+ end
+ it { should include 'amet' }
+ end
end
\ No newline at end of file