Skip to content

Commit

Permalink
using a pool variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Sep 25, 2024
1 parent ed98377 commit 3040a84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Microdown/MicSharedPool.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Class {
'RawOpenerMarkup',
'StrikeMarkup',
'TableCellMarkup',
'ThreeLettersHTMLTags',
'URLCloserMarkup',
'URLOpenerMarkup',
'UnorderedListMarkup',
Expand Down Expand Up @@ -158,7 +159,8 @@ MicSharedPool class >> initialize [
MicSharedPool class >> initializeRawParagraph [
"self initializeRawParagraph"

HTMLTags := self htmlTags
HTMLTags := self htmlTags.
ThreeLettersHTMLTags := self threeLetterhtmlTags
]

{ #category : 'class initialization' }
Expand Down
2 changes: 1 addition & 1 deletion src/Microdown/MicrodownParser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ MicrodownParser >> blockStarterClassFrom: line [
and this conflict with <!-- obviously. Too bad!
we will be able to make this huge hack goes away."
(line first = $< and: [
(MicSharedPool threeLetterhtmlTags includes: (line allButFirst truncateTo: 3)) ])
(ThreeLettersHTMLTags includes: (line allButFirst truncateTo: 3)) ])
ifTrue: [
"we have a rawparagraph block"
^ MicRawParagraphBlock
Expand Down

0 comments on commit 3040a84

Please sign in to comment.