Skip to content

Commit

Permalink
fix(parser): img() parsing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xNaCly committed Apr 14, 2023
1 parent 778a8b7 commit fce4cd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ func (p *Parser) img() Tag {

// skip the closing brace
p.advance()
// INFO: skip the newline, fixes a bug which resulted in fleck not parsing two consecutive images
p.advance()

return Image{
alt: alt,
Expand Down

0 comments on commit fce4cd5

Please sign in to comment.