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 Reject slug+uri concat if slug is deemed unsafe 2019-05-24 12:33:24 -07:00
pipeline Allow emoji in label and milestone references 2019-06-07 10:05:57 +01:00
reference_parser [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
renderer/common_mark
color_parser.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
commit_renderer.rb Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
cross_project_reference.rb
filter.rb
filter_array.rb
issuable_extractor.rb
object_renderer.rb
pipeline.rb
querying.rb
redactor.rb Fix url redaction for issue links 2019-05-03 15:09:20 +02:00
reference_extractor.rb
reference_parser.rb
render_context.rb
renderer.rb
request_store_reference_cache.rb