1. Chris Perkins
  2. strainer
Issue #2 new

bug in eq_xhtml with wrap==True

Norman Krämer
created an issue

now it reads:

def eq_xhtml(needle, haystack, wrap=False):
    if wrap:
        needle = '<div id="wrapper">%s</div>'
        haystack = '<div id="wrapper">%s</div>'

but shouldn't it read:

def eq_xhtml(needle, haystack, wrap=False):
    if wrap:
        needle = '<div id="wrapper">%s</div>' % needle
        haystack = '<div id="wrapper">%s</div>' % haystack

Comments (0)

  1. Log in to comment