Update formating_tools.py

This commit is contained in:
Crizomb 2023-04-06 10:30:09 +02:00 committed by GitHub
parent 7d6ebd11a9
commit c3bc16d4ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ def remove_trailing_newline(s):
if s.endswith('\n'):
return s[:-1]
return s
def isolate_code_bloc(soup):
pre_tab = soup.find_all("pre")
code_bloc = []