Loading toMkdocs/toMkdocs.py +3 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,9 @@ def analyseMarkdown(filename:str) -> list[Clause]: print(f'[green]Analyzing "{filename}"') with open(filename, 'r') as file: # Read the file. # Note: We use utf-8 and replace errors to avoid problems with special or unknown characters. with open(filename, 'r', encoding = 'utf-8', errors = 'replace') as file: inLines = file.readlines() outClauses:list[Clause] = [Clause(0, '', '', [])] Loading Loading
toMkdocs/toMkdocs.py +3 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,9 @@ def analyseMarkdown(filename:str) -> list[Clause]: print(f'[green]Analyzing "{filename}"') with open(filename, 'r') as file: # Read the file. # Note: We use utf-8 and replace errors to avoid problems with special or unknown characters. with open(filename, 'r', encoding = 'utf-8', errors = 'replace') as file: inLines = file.readlines() outClauses:list[Clause] = [Clause(0, '', '', [])] Loading