~loggerhead-team/loggerhead/trunk-rich

Viewing all changes in revision 345.1.2.

  • Committer: Matt Nordhoff
  • Date: 2009-05-16 06:03:47 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: mnordhoff@mattnordhoff.com-20090516060347-7cx6v0ecarpwhdat
Make highlight's caller responsible for decoding the text to unicode.

Otherwise it broke because I was passing already-decoded text.

The other option was duplicating the decoding in the non-highlighting path, which seemed less fun.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: