]> cat aescling's git repositories - mastodon.git/commit
Fix autolinking, and newlines in code blocks
authorThibaut Girka <thib@sitedethib.com>
Sun, 12 May 2019 20:13:36 +0000 (22:13 +0200)
committerThibG <thib@sitedethib.com>
Fri, 17 May 2019 21:51:14 +0000 (23:51 +0200)
commit0be93820f344fafc8618febde149e9c63d1ba5d4
treedca0590f0ca43347fa35cea6ca2e8a3eba542d0b
parent9df1ef87c20380634c9ba2dff6f04725d7355c22
Fix autolinking, and newlines in code blocks

Autolinking is now performed *after* the Markdown pass, by replacing HTML
tags with zero-width spaces and running the twitter-text extractor as usual,
except it does not auto-link URLs to avoid links in links…
app/lib/formatter.rb