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
F2194874: D25082.1716101827.diff
Sat, May 18, 06:57
F2194576: D25082.1716080656.diff
Sat, May 18, 01:04
Unknown Object (File)
Thu, May 16, 10:28
Unknown Object (File)
Wed, May 15, 02:13
Unknown Object (File)
Wed, May 8, 18:04
Unknown Object (File)
Sun, May 5, 14:45
Unknown Object (File)
Sat, May 4, 02:02
Unknown Object (File)
Wed, May 1, 09:40

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