correct media reveal wording
parent
7a0dc34cad
commit
e411b20711
|
@ -353,7 +353,7 @@
|
||||||
"status.reply": "Reply",
|
"status.reply": "Reply",
|
||||||
"status.replyAll": "Reply to thread",
|
"status.replyAll": "Reply to thread",
|
||||||
"status.report": "Report @{name}",
|
"status.report": "Report @{name}",
|
||||||
"status.sensitive_warning": "Sensitive content",
|
"status.sensitive_warning": "Reveal",
|
||||||
"status.sensitive_toggle": "Reveal",
|
"status.sensitive_toggle": "Reveal",
|
||||||
"status.share": "Share",
|
"status.share": "Share",
|
||||||
"status.show_less": "Hide",
|
"status.show_less": "Hide",
|
||||||
|
|
|
@ -216,6 +216,7 @@ class Formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
def format_markdown(html)
|
def format_markdown(html)
|
||||||
|
html = html.gsub("\r\n", "\n").gsub("\r", "\n")
|
||||||
html = reformat(markdown_formatter.render(html))
|
html = reformat(markdown_formatter.render(html))
|
||||||
html.delete("\r").delete("\n")
|
html.delete("\r").delete("\n")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue