aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-10-30 20:44:11 +0000
committerJohannes Schickel2009-10-30 20:44:11 +0000
commit92fdf79d5bd8c601d8e39b673c1a8436aef13e4e (patch)
treed9af5456719e0473124974a721e0cfaba757796c
parent59eb37a76c390d2394304364c3cabef15359afa7 (diff)
downloadscummvm-rg350-92fdf79d5bd8c601d8e39b673c1a8436aef13e4e.tar.gz
scummvm-rg350-92fdf79d5bd8c601d8e39b673c1a8436aef13e4e.tar.bz2
scummvm-rg350-92fdf79d5bd8c601d8e39b673c1a8436aef13e4e.zip
Fixes for TEX and RTF output of "add_paragraph".
svn-id: r45549
-rwxr-xr-xtools/credits.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/credits.pl b/tools/credits.pl
index 3186347c68..5e4459903c 100755
--- a/tools/credits.pl
+++ b/tools/credits.pl
@@ -433,10 +433,12 @@ sub add_paragraph {
print wrap($tab, $tab, html_entities_to_ascii($text))."\n";
print "\n";
} elsif ($mode eq "TEX") {
+ $text = html_entities_to_tex($text);
print '\item' . "\n";
print $text;
print "\n";
} elsif ($mode eq "RTF") {
+ $text = html_entities_to_rtf($text);
# Center text
print '\pard\qc' . "\n";
print "\\\n";