Homec4science

Make pht() return PhutilSafeHTML when passed PhutilSafeHTML?

Authored by epriestley <git@epriestley.com> on Jan 25 2013, 21:53.

Description

Make pht() return PhutilSafeHTML when passed PhutilSafeHTML?

Summary: See D4645 for discussion. I think the alternative is a ton of phutil_escape_html(pht(...)).

Test Plan: Unit tests.

Reviewers: vrana

Reviewed By: vrana

CC: aran

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

Details

Committed
epriestley <git@epriestley.com>Jan 25 2013, 21:53
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU7d2b52c839be: Allow phutil_render_tag() to accept an array content argument
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUf68ff0cdb5c0: Make pht() return PhutilSafeHTML when passed PhutilSafeHTML? (authored by epriestley <git@epriestley.com>).Jan 25 2013, 21:53