1617aa2756
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.
|
||
---|---|---|
.. | ||
filter | ||
pipeline | ||
reference_parser | ||
color_parser_spec.rb | ||
commit_renderer_spec.rb | ||
cross_project_reference_spec.rb | ||
filter_array_spec.rb | ||
issuable_extractor_spec.rb | ||
object_renderer_spec.rb | ||
querying_spec.rb | ||
redactor_spec.rb | ||
render_context_spec.rb | ||
renderer_spec.rb |