Skip to content

Commit

Permalink
Merge pull request #465 from estebanlm/fixes-to-act-as-markdown
Browse files Browse the repository at this point in the history
fix baseline to load macrodown correctly
  • Loading branch information
kasperosterbye authored Jun 2, 2022
2 parents 5d32bbb + dde55cc commit c73756e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaselineOfMicrodown/BaselineOfMicrodown.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ BaselineOfMicrodown >> baseline: spec [
#'Microdown-LaTeXExporter-Tests'
#'Microdown-Transformer'
#'Microdown-Transformer-Tests');
group: 'Macrodown' with: #('Microdown-Macrodown' 'Microdown-Macrodown-Tests');
group: 'Macrodown' with: #('Core' 'Microdown-Pillar' 'Microdown-Macrodown' 'Microdown-Macrodown-Tests');
group: 'All' with: #('Core' 'Tests' 'Extensions' 'Macrodown' 'Microdown-Pharo-Tools' 'RichText') ]
]

Expand Down
3 changes: 3 additions & 0 deletions src/Microdown-Macrodown/MacParagraphBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ MacParagraphBlock >> addLineAndReturnNextNode: line [
{ #category : #visiting }
MacParagraphBlock >> closeMe [

textWithoutBreak ifNil: [
"means is already closed"
^ self ].
self children: self children, (self inlineParse: textWithoutBreak).
textWithoutBreak := nil
]

0 comments on commit c73756e

Please sign in to comment.