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
F3850639: D25082.1746115664.diff
Wed, Apr 30, 16:07
F3775075: D25082.1745857898.diff
Sun, Apr 27, 16:31
F3769541: D25082.1745852167.diff
Sun, Apr 27, 14:56
F3763417: D25082.1745839260.diff
Sun, Apr 27, 11:21
F3762272: D25082.1745832750.diff
Sun, Apr 27, 09:32
F3754586: D25082.1745820037.diff
Sun, Apr 27, 06:00
F3746362: D25082.1745768056.diff
Sat, Apr 26, 15:34
F3553624: D25082.1744947320.diff
Thu, Apr 17, 03: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