]> cat aescling's git repositories - mastodon.git/commit
Fix #1609, fix #1628 - Revert #1397 (#1700)
authorEugen <eugen@zeonfederated.com>
Thu, 13 Apr 2017 17:23:36 +0000 (19:23 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2017 17:23:36 +0000 (19:23 +0200)
commit043862f4118a9ee5e6708ff9c144fa9e668ee06d
tree5e8bb2db27240c95854cd3eefd4b8db56696afa2
parent9e5c1c487eadd1720dc147898a676ddb0038bde2
Fix #1609, fix #1628 - Revert #1397 (#1700)

When transmitting data in a HTML-encoded element like <content type="html" />,
relying on newlines being preserved is not wise, since HTML by itself
does not care for newlines - it cares for <p> and <br>

Additional fix: reset NSFW toggle after sending toot
app/assets/javascripts/components/components/status_content.jsx
app/assets/javascripts/components/reducers/compose.jsx
app/lib/formatter.rb