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
Unknown Object (File)
Sat, Jun 15, 11:44
Unknown Object (File)
Wed, Jun 5, 02:23
Unknown Object (File)
Tue, Jun 4, 22:25
Unknown Object (File)
Tue, Jun 4, 11:31
Unknown Object (File)
Tue, Jun 4, 02:25
Unknown Object (File)
Tue, Jun 4, 00:33
Unknown Object (File)
Sat, May 25, 00:00
Unknown Object (File)
Sat, May 25, 00:00

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