From 4e5f8312875432b0300e79eb47c67ade8838455e Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Wed, 21 Jan 2009 16:40:20 -0500 Subject: [PATCH] Made italics use the correct LaTeX tag: textit rather than emph. [#98 state:resolved] --- CHANGELOG | 2 ++ lib/redcloth/formatters/latex.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5119efec..11d6f792 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ === Edge +* Made italics use the correct LaTeX tag: textit rather than emph. #98 + * Fixed custom block signatures calling built-in Ruby String methods. #92 * Mentioned the three supported platforms and what's necessary to build RedCloth in the README file. diff --git a/lib/redcloth/formatters/latex.rb b/lib/redcloth/formatters/latex.rb index ac3502ba..b19bb98d 100644 --- a/lib/redcloth/formatters/latex.rb +++ b/lib/redcloth/formatters/latex.rb @@ -38,7 +38,7 @@ def escape_pre(text) # commands { :strong => 'textbf', :em => 'emph', - :i => 'emph', + :i => 'textit', :b => 'textbf', :ins => 'underline', :del => 'sout',