Page MenuHomePhabricator

Prevent embedded remarkup content from cycling when it contains embedded self-references
ClosedPublic

Authored by epriestley on May 9 2022, 6:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 1:12 PM
Unknown Object (File)
Mon, Dec 16, 5:26 PM
Unknown Object (File)
Sun, Dec 15, 8:03 PM
Unknown Object (File)
Sun, Dec 8, 8:10 PM
Unknown Object (File)
Tue, Nov 26, 10:38 PM
Unknown Object (File)
Tue, Nov 26, 5:31 PM
Unknown Object (File)
Nov 22 2024, 12:39 AM
Unknown Object (File)
Nov 20 2024, 3:37 PM
Subscribers
None

Details

Summary

Ref T13678. When remarkup content embeds other remarkup content, detect and degrade if the references have nesting depth greater than 1. This is a coarse cycle detector, since rendering shallow (but technically non-cycling) trees doesn't seem valuable.

Test Plan

Created various objects with self-references, saw everything degrade properly (after one level of embedding) when embedded in itself and in other contexts. See attached screenshot.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 9 2022, 6:21 PM
This revision was automatically updated to reflect the committed changes.