[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Convert/HTML.pm t/results/co...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Convert/HTML.pm t/results/co... |
Date: |
Thu, 11 Aug 2011 22:18:33 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/08/11 22:18:33
Modified files:
tp/Texinfo/Convert: HTML.pm
tp/t/results/coverage: math.pl
Log message:
Don't modify -- ---, '' and `` in @math.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.122&r2=1.123
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/math.pl?cvsroot=texinfo&r1=1.24&r2=1.25
Patches:
Index: Texinfo/Convert/HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -b -r1.122 -r1.123
--- Texinfo/Convert/HTML.pm 11 Aug 2011 22:08:51 -0000 1.122
+++ Texinfo/Convert/HTML.pm 11 Aug 2011 22:18:32 -0000 1.123
@@ -3279,11 +3279,12 @@
if ($self->get_conf('ENABLE_ENCODING') and
!$self->get_conf('ENABLE_ENCODING_USE_ENTITY')
and $self->{'encoding_name'} and $self->{'encoding_name'} eq 'utf-8') {
- my $context = {'code' => $self->in_code(),
+ my $context = {'code' => ($self->in_code() or $self->in_math()),
'preformatted' => $self->in_preformatted()};
$text = Texinfo::Convert::Unicode::unicode_text($self, $text, $command,
$context);
- } elsif (!$self->in_code() and !$self->in_preformatted()) {
+ } elsif (!$self->in_code() and !$self->in_math()
+ and !$self->in_preformatted()) {
if ($self->get_conf('USE_ISO')) {
$text =~ s/---/\&mdash\;/g;
$text =~ s/--/\&ndash\;/g;
Index: t/results/coverage/math.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/math.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- t/results/coverage/math.pl 8 Aug 2011 01:14:37 -0000 1.24
+++ t/results/coverage/math.pl 11 Aug 2011 22:18:32 -0000 1.25
@@ -457,7 +457,7 @@
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
<p>Simple math
-<em>–{x^i}\\over{\\tan y}</em>
+<em>--{x^i}\\over{\\tan y}</em>
</p>
<p>Math with @-command
<em><code>math code</code> a < b</em>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Convert/HTML.pm t/results/co...,
Patrice Dumas <=