Closed rspeicher closed 2 weeks ago
Fixes an issue where asterisks used for list items were converted to underscores.
Before:
1) Slack::Messages::Formatting#markdown doesn't treat list items as text formatting Failure/Error: expect(formatting.markdown(msg)).to eq msg expected: "Une liste:\n\n* Article 1\n* Article 2\n* Article 3\n" got: "Une liste:\n\n_ Article 1\n_ Article 2\n* Article 3\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ Une liste: -* Article 1 -* Article 2 +_ Article 1 +_ Article 2 * Article 3 # ./spec/slack/messages/formatting_spec.rb:161:in `block (3 levels) in <top (required)>'
Introduced in https://github.com/slack-ruby/slack-ruby-client/pull/520.
Perfect, thank you.
Fixes an issue where asterisks used for list items were converted to underscores.
Before:
Introduced in https://github.com/slack-ruby/slack-ruby-client/pull/520.