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
Unknown Object (File)
Sat, Dec 21, 10:57 AM
Unknown Object (File)
Sat, Dec 21, 3:19 AM
Unknown Object (File)
Thu, Dec 19, 12:58 AM
Unknown Object (File)
Tue, Dec 17, 4:57 AM
Unknown Object (File)
Fri, Dec 13, 8:41 PM
Unknown Object (File)
Mon, Dec 2, 11:35 PM
Unknown Object (File)
Nov 26 2024, 1:10 AM
Unknown Object (File)
Nov 24 2024, 2:34 PM
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.