Page MenuHomePhorge

Remarkup: minor refactor to identify anchor and relative URIs
AbandonedPublic

Authored by valerio.bozzolan on Mar 23 2023, 09:20.
Tags
None
Referenced Files
F3330989: D25082.1743499019.diff
Mon, Mar 31, 09:16
F3330888: D25082.1743496275.diff
Mon, Mar 31, 08:31
F3320413: D25082.1743329261.diff
Sat, Mar 29, 10:07
F3318572: D25082.1743287743.diff
Fri, Mar 28, 22:35
F3309421: D25082.1743184301.diff
Thu, Mar 27, 17:51
F3308970: D25082.1743179977.diff
Thu, Mar 27, 16:39
F3308093: D25082.1743159289.diff
Thu, Mar 27, 10:54
F3307497: D25082.1743147323.diff
Thu, Mar 27, 07:35

Details

Summary

This modification should not change anything logically.

This change simplifies these checks:

  • identify an anchor
  • identify a relative URI

https://we.phorge.it/T15182

The methods are introduced in PhutilRemarkupRule since that
is the parent class of these children classes:

  • PhutilRemarkupDocumentLinkRule
  • PhutilRemarkupHyperlinkRule

Ref T15182

Test Plan
  • Just check that nothing has been changed logically

Diff Detail

Repository
rP Phorge
Branch
T15161-remarkup-internal-links-refactor
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 155
Build 155: arc lint + arc unit

Event Timeline