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
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
filter_array_spec.rb
issuable_extractor_spec.rb
object_renderer_spec.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
querying_spec.rb
redactor_spec.rb Fix url redaction for issue links 2019-05-03 15:09:20 +02:00
render_context_spec.rb
renderer_spec.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00