Skip to content

Fix editing of Markdown fields when cache version is incremented

What does this MR do?

This fixes the cache invalidation logic for Markdown fields

This removes the extra optimization where we skip rendering when we see that both the markdown field and the HTML field are both updated.

This optimization is unreliable because even if both fields are changed, we cannot be sure that the HTML is correct for the current markdown value.

#208255 (closed)

Screenshots

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
Edited by Mayra Cabrera

Merge request reports