philipp-zettl commited on
Commit
5362638
1 Parent(s): db59f68

Update src/text.py

Browse files
Files changed (1) hide show
  1. src/text.py +1 -1
src/text.py CHANGED
@@ -80,7 +80,7 @@ def select_content(html_code, elem_class, class_name):
80
  kwargs = {'class_': class_name}
81
  elif class_name.startswith('#'):
82
  kwargs = {'id': class_name[1:]}
83
- return md(str(BS(article.html, features="lxml").find(**kwargs)))
84
 
85
 
86
  def split_by_heading(html_content, _i):
 
80
  kwargs = {'class_': class_name}
81
  elif class_name.startswith('#'):
82
  kwargs = {'id': class_name[1:]}
83
+ return md(str(BS(html_code, features="lxml").find(**kwargs)))
84
 
85
 
86
  def split_by_heading(html_content, _i):