https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7115

--- Comment #12 from Mark Martinec <[email protected]> ---
While investigating John's concern, I realized there are three almost
identical code copies in Message.pm, which only differ in the hash key
where they cache result, and in a method being called.
Couldn't resist factoring out common code from
  get_rendered_body_text_array(),
  get_visible_rendered_body_text_array(), and
  get_invisible_rendered_body_text_array()

No functional change.

Bug 7115, factoring out common code in Message.pm
  Sending lib/Mail/SpamAssassin/Message.pm
Committed revision 1648381.


Btw, there was a comment at get_visible_rendered_body_text_array()

  # TODO: possibly this should just replace get_rendered_body_text_array().
  # (although watch out, this one doesn't copy {html} to metadata)

which does not match code, all three routines do/did copy
{html} to metadata the same way (unless it's already there).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to