author | amit@thunder |
Tue, 13 Apr 2010 15:37:26 +0530 | |
changeset 52 | d97ba9fb5ed1 |
parent 51 | 8af288a4c1a9 |
child 53 | 7589bd9808b4 |
--- a/SEESenv/scripts/finalhtml.py Mon Apr 12 15:19:02 2010 +0530 +++ b/SEESenv/scripts/finalhtml.py Tue Apr 13 15:37:26 2010 +0530 @@ -108,7 +108,7 @@ reg_obj=re.compile('<head>.*</head>',re.DOTALL) html_string=reg_obj.sub(replace_string, html_string,re.DOTALL) html_string=re.sub('><a name',' id', html_string) - soup=BeautifulSoup(html_string.decode('ascii','ignore')) + soup=BeautifulSoup(html_string) soup.html.head.title.string.replaceWith(current_chapter_title) div=soup.html.div