HomePhorge

Fix issue where "{Fnnn, size}" renders as though "size=full"

Description

Fix issue where "{Fnnn, size}" renders as though "size=full"

Summary: We interpret "size" as "size => true", and "true == 'full'", so we hit the wrong branch in the switch(). String cast explicitly.

Test Plan: Typed {Fnnn, size}; saw it render as a thumb instead of full.

Reviewers: btrahan, codeblock

Reviewed By: codeblock

CC: frozendevil, aran

Differential Revision: https://secure.phabricator.com/D4323

Details

Provenance
epriestleyAuthored on Jan 2 2013, 2:03 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPa3fdb20a8ea9: Move GC into PHP and simplify it
Branches
Unknown
Tags
Unknown

Event Timeline