Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
7406404f
Commit
7406404f
authored
8 years ago
by
Eugen Rochko
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Hotfix remote status formatting (#2543)
parent
010e4f28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/lib/formatter.rb
+1
-1
app/lib/formatter.rb
with
1 addition
and
1 deletion
+1
-1
app/lib/formatter.rb
+
1
-
1
View file @
7406404f
...
...
@@ -23,7 +23,7 @@ class Formatter
end
def
reformat
(
html
)
sanitize
(
html
,
Sanitize
::
Config
::
MASTODON_STRICT
)
sanitize
(
html
,
Sanitize
::
Config
::
MASTODON_STRICT
)
.
html_safe
# rubocop:disable Rails/OutputSafety
end
def
plaintext
(
status
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets