Fix bug in Gollum Tags filter
What does this MR do?
There is a problem in the GollumTagsFilter
. If the tag references an existing file in the wiki repo, it adds an HTML image
element and, in the data-src
attribute, we pass the link.
Nevertheless, given the position the filter is added, the image is not properly rendered and we end up like:
Instead, we can take advantage of the existing ImageLazyLoad
filter. In order to do that, we need to install the GollumTagsFilter
before ImageLazyLoad
and populate the src
attribute instead of data-src
.
The result after the fix is:
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry.
-
-
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Refs #20150 (closed)
Edited by Francisco Javier López