Html to markdown bug solved for Windows

This commit is contained in:
Ricardo Zapata 2017-12-01 20:43:07 +00:00 committed by Offray Luna
parent 2ee75d58ac
commit 97be568e06

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.