gitlab-org--gitlab-foss/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
pipeline Allow emoji in label and milestone references 2019-06-07 10:05:57 +01:00
reference_parser
renderer/common_mark
color_parser.rb
commit_renderer.rb
cross_project_reference.rb
filter.rb
filter_array.rb
issuable_extractor.rb
object_renderer.rb
pipeline.rb
querying.rb
redactor.rb
reference_extractor.rb
reference_parser.rb
render_context.rb
renderer.rb
request_store_reference_cache.rb