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)
Mon, Mar 25, 07:35
Unknown Object (File)
Mon, Mar 25, 07:35
Unknown Object (File)
Mon, Mar 25, 07:35
Unknown Object (File)
Mon, Mar 25, 06:47
Unknown Object (File)
Mon, Mar 25, 06:16
Unknown Object (File)
Thu, Mar 21, 14:27
Unknown Object (File)
Thu, Mar 21, 07:20
Unknown Object (File)
Thu, Mar 21, 06:52

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