

def split(self, splitter):
    '\n        Split the HTML content with a marker\n        without breaking closing markups.\n        '
    soup = BeautifulSoup(self.content.split(splitter)[0], 'html.parser')
    last_string = soup.find_all(text=True)[(- 1)]
    splitter.replace_with((last_string.string + self.more_string))
    return soup

dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/preview.py HTMLPreview.split/VarMisuse@50/90 `last_string`->`splitter`