Skip to content

Allow override of random footnote ID

What does this MR do and why?

Related: Tracking Issue: Implement GLFM scripts per the ... (#361241)

We allow overriding the randomness of footnote IDs with a static value from GITLAB_TEST_FOOTNOTE_ID.

This allows stable generation of example HTML during GLFM Snapshot Testing (https://docs.gitlab.com/ee/development/gitlab_flavored_markdown/specification_guide/#markdown-snapshot-testing), and reduces the need for normalization of the example HTML (https://docs.gitlab.com/ee/development/gitlab_flavored_markdown/specification_guide/#normalization)

Screenshots

Screen_Shot_2022-06-23_at_10.22.49_PM

How to set up and validate locally

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