[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

™ --> ™

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





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to