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)
Thu, Jul 25, 08:24
Unknown Object (File)
Thu, Jul 25, 08:23
Unknown Object (File)
Thu, Jul 25, 08:22
Unknown Object (File)
Thu, Jul 25, 08:22
Unknown Object (File)
Wed, Jul 24, 14:58
Unknown Object (File)
Wed, Jul 24, 00:50
Unknown Object (File)
Wed, Jul 24, 00:50
Unknown Object (File)
Wed, Jul 24, 00:50

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