Skip to content

Commit

Permalink
Merge pull request lichess-org#9877 from 370417/escape-links
Browse files Browse the repository at this point in the history
Call the unescapeUnderscoreInLinks function
  • Loading branch information
ornicar authored Sep 24, 2021
2 parents 5642398 + b20f702 commit f58e516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ublog/src/main/UblogMarkup.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class UblogMarkup(baseUrl: config.BaseUrl, assetBaseUrl: config.AssetBaseU
unescapeAtUsername.apply andThen
renderer(s"ublog:${post.id}") andThen
imageParagraph andThen
unescapeAtUsername.apply
unescapeUnderscoreInLinks.apply

// replace game GIFs URLs with actual game URLs that can be embedded
private object replaceGameGifs {
Expand Down

0 comments on commit f58e516

Please sign in to comment.