@@ -321,13 +321,13 @@ def _convert_input(source, format, input_type, to, extra_args=(), outputfile=Non
321321 try :
322322 stdout = stdout .decode ('utf-8' )
323323 except UnicodeDecodeError :
324- # this shouldn't happen: pandoc more or less garantees that the output is utf-8!
324+ # this shouldn't happen: pandoc more or less guarantees that the output is utf-8!
325325 raise RuntimeError ('Pandoc output was not utf-8.' )
326326
327327 try :
328328 stderr = stderr .decode ('utf-8' )
329329 except UnicodeDecodeError :
330- # this shouldn't happen: pandoc more or less garantees that the output is utf-8!
330+ # this shouldn't happen: pandoc more or less guarantees that the output is utf-8!
331331 raise RuntimeError ('Pandoc output was not utf-8.' )
332332
333333 # check that pandoc returned successfully
@@ -460,7 +460,7 @@ def get_pandoc_path():
460460
461461 It will return a path to pandoc which is used by pypandoc.
462462
463- This might be a full path or, if pandoc is on PATH, simple `pandoc`. It's garanteed
463+ This might be a full path or, if pandoc is on PATH, simple `pandoc`. It's guaranteed
464464 to be callable (i.e. we could get version information from `pandoc --version`).
465465 If `PYPANDOC_PANDOC` is set and valid, it will return that value. If the environment
466466 variable is not set, either the full path to the included pandoc or the pandoc in
@@ -503,7 +503,7 @@ def _ensure_pandoc_path(quiet=False):
503503 if os .getenv ('ProgramFiles(x86)' , None ):
504504 search_paths .append (os .path .expandvars ("${ProgramFiles(x86)}\\ Pandoc\\ Pandoc" ))
505505
506- # bin can also be used on windows (conda at leats has it in path), so
506+ # bin can also be used on windows (conda at least has it in path), so
507507 # include it unconditionally
508508 search_paths .append (os .path .join (sys .exec_prefix , "bin" , "pandoc" ))
509509 # If a user added the complete path to pandoc to an env, use that as the
0 commit comments