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
F2162443: D25082.id367.diff
Thu, Apr 25, 10:49
F2162441: D25082.id366.diff
Thu, Apr 25, 10:49
F2162440: D25082.id365.diff
Thu, Apr 25, 10:49
Unknown Object (File)
Wed, Apr 24, 22:24
Unknown Object (File)
Wed, Apr 24, 21:17
Unknown Object (File)
Wed, Apr 17, 01:06
Unknown Object (File)
Sun, Apr 7, 09:12
Unknown Object (File)
Mon, Apr 1, 00:57

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