Page MenuHomePhabricator

Fix "add more metadata" fatal in Pholio
ClosedPublic

Authored by epriestley on Jul 11 2019, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 12:38 PM
Unknown Object (File)
Sat, Nov 16, 1:51 AM
Unknown Object (File)
Tue, Nov 12, 5:19 AM
Unknown Object (File)
Mon, Nov 11, 4:52 AM
Unknown Object (File)
Sat, Nov 9, 3:35 PM
Unknown Object (File)
Fri, Nov 8, 5:02 AM
Unknown Object (File)
Mon, Nov 4, 7:23 AM
Unknown Object (File)
Wed, Oct 30, 8:30 AM
Subscribers
None

Details

Summary

Ref T13332. This fix isn't terribly satisfying, but resolves the issue: this behavior may attempt to build HTML blocks with metadata after Javascript footer rendering has started. Use hsprintf() to flatten the markup earlier.

Test Plan

Put a T123 reference in the description of a Pholio image, then loaded a mock.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable