Skip to content

WIP: Prevent text color of code content to be overridden by links

Sven Schwyn requested to merge (removed):199886-linked-code-text-color into master

What does this MR do?

It just adds an !important to the style setting the text color of <code> thus protecting the code content color (red) from being overridden e.g. by the link text color (blue). See #199886 (closed) for the reasoning behind this.

There shouldn't be any noticeable side effects since linking code content is not widely used, but comes in handy at times.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #199886 (closed)

Edited by Sven Schwyn

Merge request reports