Skip to content

Move data-reference-type attribute into a constant

Felipe Cardozo requested to merge issue_364047 into master

What does this MR do and why?

This is a small refactoring suggested on #364047 (closed).

It moves data-reference-type= attribute into a constant so it can be re-used by ReferenceRewriter class to detect if content needs a rewrite.

Nothing changes in the current behavior, but it prevents someone from changing this attribute name and break rewrites when needed.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading