gitlab-org--gitlab-foss/spec/lib/banzai
Sean McGivern 1617aa2756
Allow emoji in label and milestone references
If we put the emoji filter before the reference filters, each emoji will
have a wrapper element that prevents the reference filter from detecting
the presence of the emoji.

As the emoji filter now runs after the reference filters, references
must contain a literal emoji, not the GitLab Flavored Markdown
versions (:100`, for example).

A weird side-effect is that if you have a label with the 100 emoji, and
a label named 💯, then trying to reference the latter will work (link
to the correct label), but will render with the 100 emoji. I'm
comfortable with that edge case, I think.
2019-06-07 10:05:57 +01:00
..
filter Merge branch 'fix/allow-lower-case-issue-ids' into 'master' 2019-06-06 14:40:07 +00:00
pipeline Allow emoji in label and milestone references 2019-06-07 10:05:57 +01:00
reference_parser Preload project features in reference parser 2018-09-30 20:03:43 +02:00
color_parser_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
commit_renderer_spec.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
cross_project_reference_spec.rb Banzai project ref- share context more aggresively 2018-10-04 10:12:18 -06:00
filter_array_spec.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
issuable_extractor_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
object_renderer_spec.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
querying_spec.rb Optimize CSS expressions produced by Nokogiri 2015-12-31 15:46:47 +01:00
redactor_spec.rb Fix url redaction for issue links 2019-05-03 15:09:20 +02:00
render_context_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
renderer_spec.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00