Skip to content

Commit

Permalink
Add failing spec for codeblock sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
greysteil committed Oct 25, 2019
1 parent 20ca35a commit 5a31efe
Show file tree
Hide file tree
Showing 2 changed files with 514 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
it { is_expected.to eq(text) }
end

context "with unmatched single code ticks previously" do
let(:text) { fixture("changelogs", "sentry.md") }
it { is_expected.to include("@​halkeye") }
end

context "that appears in codeblock quotes" do
let(:text) { "``` @model ||= 123```" }
it { is_expected.to eq(text) }
Expand Down
Loading

0 comments on commit 5a31efe

Please sign in to comment.