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
F2977644: D25082.1739641084.diff
Fri, Feb 14, 17:38
F2962296: D25082.1739179305.diff
Sun, Feb 9, 09:21
F2962295: D25082.1739179301.diff
Sun, Feb 9, 09:21
F2961698: D25082.1739169827.diff
Sun, Feb 9, 06:43
F2961697: D25082.1739169823.diff
Sun, Feb 9, 06:43
F2961696: D25082.1739169820.diff
Sun, Feb 9, 06:43
F2952229: D25082.1738962375.diff
Thu, Feb 6, 21:06
F2938831: D25082.1738024711.diff
Mon, Jan 27, 00:38

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