Update before AbreLatam2016 talk.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2016-10-31 15:19:07 +00:00
parent 16559eb0d6
commit 58d888ab81

View File

@ -440,7 +440,7 @@ GrafoscopioNode >> markdownContent [
markdown nextPutAll: ' '. markdown nextPutAll: ' '.
markdown nextPutAll: (self header copyReplaceTokens: #cr with: #lf); crlf; crlf. markdown nextPutAll: (self header copyReplaceTokens: #cr with: #lf); crlf; crlf.
embedNodes := self children select: [:each | ((each header findTokens: $ ) at: 1) = '%embed']. embedNodes := self children select: [:each | ((each header findTokens: $ ) at: 1) = '%embed'].
temporalBody := self body. temporalBody := self body asString.
embedNodes ifNotNil: [ embedNodes ifNotNil: [
(temporalBody includesSubstring: '%embed-all') (temporalBody includesSubstring: '%embed-all')
ifFalse: [embedNodes do: [ :each | temporalBody := temporalBody copyReplaceAll: (each header) with: each body]] ifFalse: [embedNodes do: [ :each | temporalBody := temporalBody copyReplaceAll: (each header) with: each body]]