Update formating_tools.py
This commit is contained in:
parent
7d6ebd11a9
commit
c3bc16d4ab
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ def remove_trailing_newline(s):
|
||||||
if s.endswith('\n'):
|
if s.endswith('\n'):
|
||||||
return s[:-1]
|
return s[:-1]
|
||||||
return s
|
return s
|
||||||
|
|
||||||
def isolate_code_bloc(soup):
|
def isolate_code_bloc(soup):
|
||||||
pre_tab = soup.find_all("pre")
|
pre_tab = soup.find_all("pre")
|
||||||
code_bloc = []
|
code_bloc = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue