File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -915,7 +915,7 @@ def indent_quoted_content(soup: Any, padding_char: str) -> int:
915
915
blockquote_list = soup .find_all ("blockquote" )
916
916
bq_len = len (blockquote_list )
917
917
for tag in blockquote_list :
918
- child_list = tag .findChildren (recursive = False )
918
+ child_list = tag .find_all (recursive = False )
919
919
child_block = tag .find_all ("blockquote" )
920
920
actual_padding = f"{ padding_char } " * pad_count
921
921
if len (child_list ) == 1 :
@@ -937,8 +937,8 @@ def indent_quoted_content(soup: Any, padding_char: str) -> int:
937
937
new_tag .string = actual_padding
938
938
# If the quoted message is multi-line message
939
939
# we deconstruct it and pad it at break-points (<br/>)
940
- for br in child .findAll ("br" ):
941
- next_s = br .nextSibling
940
+ for br in child .find_all ("br" ):
941
+ next_s = br .next_sibling
942
942
text = str (next_s .string ).strip ()
943
943
if text :
944
944
insert_tag = soup .new_tag ("p" )
You can’t perform that action at this time.
0 commit comments