Homec4science

Allow appending to safe HTML

Authored by vrana <jakubv@fb.com> on Jan 31 2013, 18:00.

Description

Allow appending to safe HTML

Summary:
Sometimes I need to return safe HTML and I ended up calling hsprintf('%s%s', $tag1, $tag2).
This looks better.

Test Plan: New unit test.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

Details

Committed
vrana <jakubv@fb.com>Jan 31 2013, 18:09
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUac5ab3484a7a: Move isConstantString() from XHPAST linter to XHPAST node
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU4d9a41cdb69c: Allow appending to safe HTML (authored by vrana <jakubv@fb.com>).Jan 31 2013, 18:09