Html to markdown bug solved for Windows

This commit is contained in:
RicardoZapata 2017-12-01 20:43:07 +00:00 committed by SantiagoBragagnolo
parent 76eb27cf4e
commit e97791180d
1 changed files with 2 additions and 2 deletions

View File

@ -524,8 +524,8 @@ GrafoscopioNode >> htmlToMarkdown [
waitForCommand: 'pandoc -f html -t markdown --atx-headers ',
htmlFile fullName, ' -o ', markdownFile fullName ].
Smalltalk platformName = 'Win32'
ifTrue: [ WindowsProcess
waitForCommand: 'pandoc -f html -t markdown --atx-headers ',
ifTrue: [ WinProcess
createAndWaitForProcess: 'pandoc -f html -t markdown --atx-headers ',
htmlFile fullName, ' -o ', markdownFile fullName ].
self body: markdownFile contents.
htmlFile ensureDelete.