bug in eq_xhtml with wrap==True

Issue #2 new
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