changes.mady.by.user Jean-luc KRIKER
Saved on Apr 28, 2019
Saved on May 05, 2019
### dpage_content : {'title': 'IT', 'type': 'page', 'body': {'storage': {'value': '<html>\n\t\n<head>\n\t<title>2- Add server on XenCenter</title>\n\t<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta name="generator" content="H\
Image Modified
#clean up the begining of the file wih special char with open(cleaned_html, 'w') as cleaned_file2: nonBreakSpace = u'\xef\xbb\xbf\x3c' cleaned_file2.write(str(soup).replace(nonBreakSpace,r'<')) cleaned_file2.close()