0
0
Fork 0

Fix regressions from #2683 (#2970)

* Fix regressions from #2683

Properly format spoiler text HTML, while keeping old logic for blankness intact
Process hashtags and mentions in spoiler text
Format spoiler text for Atom
Change "show more" toggle into a button instead of anchor
Fix style regression on dropdowns for detailed statuses

* Fix lint issue

* Convert spoiler text to plaintext in desktop notifications
This commit is contained in:
Eugen Rochko 2017-05-11 00:28:10 +02:00 committed by GitHub
parent 65027657ec
commit 72698bc3b4
14 changed files with 88 additions and 49 deletions

View file

@ -69,11 +69,9 @@ RSpec.describe Formatter do
end
end
=begin
it 'matches a URL without closing paranthesis' do
xit 'matches a URL without closing paranthesis' do
expect(subject.match('(http://google.com/)')[0]).to eq 'http://google.com'
end
=end
context 'matches a URL without exclamation point' do
let(:local_text) { 'http://www.google.com!' }