Skip to content

remove() method have bug #233

@PengLuan

Description

@PengLuan

I use pyquery like this
`from pyquery import PyQuery

if name == 'main':
query = PyQuery('AABBCC')
need_remove_dict = dict()
for item in query('span').items():
item.remove()
print(query.outer_html())`

I except got 'AACC' but I got 'AA CC' , why use a space to replace that element i want remove?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions