Page MenuHomePhabricator

Improve coverage of remarkup "<table>" rule and fix some bad method calls
ClosedPublic

Authored by epriestley on Jul 8 2019, 11:55 PM.
Tags
None
Referenced Files
F18088312: D20644.id49250.diff
Wed, Aug 6, 7:31 AM
F18084787: D20644.diff
Tue, Aug 5, 5:27 PM
F18053140: D20644.id49250.diff
Mon, Aug 4, 4:09 AM
F18045547: D20644.diff
Sun, Aug 3, 9:11 AM
F18035769: D20644.diff
Sun, Aug 3, 1:40 AM
F17947415: D20644.id.diff
Thu, Jul 31, 4:29 PM
F17932504: D20644.diff
Wed, Jul 30, 8:19 PM
F17676787: D20644.id49249.diff
Jul 13 2025, 10:17 AM
Subscribers
None
Tokens
"Baby Tequila" token, awarded by amckinley.

Details

Summary

See PHI1334. The existing coverage for "<table>" in remarkup is all testing valid inputs, and we have some incorrect method call names when the input isn't valid.

Add coverage, then make it pass.

Test Plan

Added tests and made them pass. Rendered some questionable <table>-like tags in comment previews.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I'm going to fast-track this to production since the fatal in PHI1334 is particularly unlucky (repository landing page) and I'm pretty confident the change doesn't make anything worse.