[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Bug#21809: symbol ½ not interpreted
From: Marc Mutz <Marc () Mutz ! com>
Date: 2001-03-08 19:25:16
[Download RAW message or body]
bono@uni-paderborn.de wrote:
>
<snip>
> Konqueror does not show the symbol ½,
> instead the text "½" is shown.
<snip>
This goes for all HTML4 entities that end with a numerical letter (as
opposed to an alphanumerical one). The AFAIK complete list is:
sup1
sup2
sup3
frac12
frac14
frac34
there4
It's definitely a khtml or konqueror thing, as KCharsets::fromEntity()
does the right thing.
OK, I think I have it:
kdelibs/khtml/html/htmltokenizer.cpp:
in function HTMLTokenizer::parseEntity()
in the condition of the second 'if' in the while (src.length() ) loop,
(it's l.599 in my sources, but they are from a month ago),
there is a term that reads
> (cc >= 'a' && cc <= 'z')
that should read
> (cc >= 'a' && cc <= 'z' || cc >= '0' && cc <= '9')
Sorry, but I cannot make a diff (network does not work at the other box)
and cannot test.
Marc
--
Marc Mutz <Marc@Mutz.com> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic