Skip to content

Commit

Permalink
fixup: no need to push things into links anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
plt-amy committed Aug 17, 2023
1 parent c32ac68 commit 81195fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions support/shake/app/Shake/Markdown.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ postParseInlines (m@Math{}:s@(Str txt):xs)
| not (Text.isPrefixOf " " txt)
= htmlInl "<span style=\"white-space: nowrap;\">" : m : s : htmlInl "</span>"
: postParseInlines xs
postParseInlines (l@(Link attr content target):Str txt:xs) | Just _ <- isWikiLink l =
Link attr (content ++ [Str txt]) target:postParseInlines xs
postParseInlines (x:xs) = x:postParseInlines xs
postParseInlines [] = []

Expand Down

0 comments on commit 81195fd

Please sign in to comment.