From: Neal R. <ne...@ri...> - 2003-11-19 02:14:46
|
[SNIP] > This error is happening in the DISPLAY of the excerpts... so it > seems like looking for &#XXX; patterns and NOT encoding them before > display is a reasonable strategy... the browser will decide how to display it. Attn Gilles: Display.cc Wed Mar 1 23:09:49 2000 UTC (3 years, 8 months ago) by grdetil http://cvs.sourceforge.net/viewcvs.py/htdig/htdig/htsearch/Display.cc?r1=1.100.2.14&r2=1.100.2.15&only_with_tag=htdig-3-2-x * htsearch/Display.cc (excerpt, hilight): move SGML encoding into hilight() function, because when it's done earlier it breaks highlighting of accented characters. OK, this is causing the problem.... if I reverse the changes after line 1284, it will not improperly encode ™ --> &#153; If we want to highlight acceted characters, it seems like that <strong>&#XXX</strong> would do the trick. We don't neccessarily need to convert SGML entities to single chars for the display highlighting to work... Would you forward me an example of what this fix is supposed to do with an accented charachter? I can redesign this chunk of code to accomplish both goals. Thanks! Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |