aboutsummaryrefslogtreecommitdiffstats
path: root/release_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'release_notes.py')
-rwxr-xr-xrelease_notes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release_notes.py b/release_notes.py
index 85ab84c..768dbd1 100755
--- a/release_notes.py
+++ b/release_notes.py
@@ -104,7 +104,9 @@ def convert(html_file_path):
config.BODY_WIDTH = 70
parser = HTML2Text()
- text = parser.handle(soup.decode())
+
+ article = soup.find('div', class_='entry-content')
+ text = parser.handle(article.decode())
text = fix_wordpress_references_link(text)