Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-07 00:21:19 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-07 00:21:19 +0300
commitfdff815a4cddd9e956d1bf4cc8f01eeb3384b9ee (patch)
tree7c48d29b70d2a522641c332b4574348dffbf3f76 /spec/fixtures
parent5b3c823fc9fe6788184a29dec7393158738ef584 (diff)
Add Markdown feature specs for markup inside links
It was already working, just want to make sure we don't break it in the future.
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/markdown.md.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb
index 0c140758557..6b79aad8f86 100644
--- a/spec/fixtures/markdown.md.erb
+++ b/spec/fixtures/markdown.md.erb
@@ -94,6 +94,14 @@ The problem with SanitizationFilter is that it can be too aggressive.
| `1 < 3 & 5` | 1 &lt; 3 &amp; 5 | 1 < 3 & 5 |
| `<foo>` | &lt;foo&gt; | <foo> |
+### Edge Cases
+
+Markdown should be usable inside a link. Let's try!
+
+- [_text_](#link-emphasis)
+- [**text**](#link-strong)
+- [`text`](#link-code)
+
### EmojiFilter
Because life would be :zzz: without Emoji, right? :rocket: