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
F2993269: D25082.1740279974.diff
Sat, Feb 22, 03:06
F2993267: D25082.1740279973.diff
Sat, Feb 22, 03:06
F2993266: D25082.1740279972.diff
Sat, Feb 22, 03:06
F2993259: D25082.1740279514.diff
Sat, Feb 22, 02:58
F2993255: D25082.1740279184.diff
Sat, Feb 22, 02:53
F2977644: D25082.1739641084.diff
Fri, Feb 14, 17:38
F2962296: D25082.1739179305.diff
Sun, Feb 9, 09:21
F2962295: D25082.1739179301.diff
Sun, Feb 9, 09:21

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