This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/repo_links
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/gc/repo_links by this push:
     new 8ed12bafb fixup! fix relative links in markdown files
8ed12bafb is described below

commit 8ed12bafb20a0de8281d4e569358ef9bcc4c5519
Author: Guillermo Cruz <guillermo.c...@slashdotmedia.com>
AuthorDate: Thu Aug 21 12:34:08 2025 -0600

    fixup! fix relative links in markdown files
---
 Allura/allura/tests/test_globals.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/tests/test_globals.py 
b/Allura/allura/tests/test_globals.py
index 9f93a51f2..e090496b1 100644
--- a/Allura/allura/tests/test_globals.py
+++ b/Allura/allura/tests/test_globals.py
@@ -608,7 +608,7 @@ def test_markdown_extremely_slow(self):
     def test_macro_include(self):
         r = g.markdown.convert('[[include ref=Home id=foo]]')
         assert '<div id="foo">' in r, r
-        assert 'href="../foo"' in g.markdown.convert('[My foo](foo)')
+        assert 'href="./foo"' in g.markdown.convert('[My foo](foo)')
         assert 'href="..' not in g.markdown.convert('[My foo](./foo)')
 
     def test_macro_nbhd_feeds(self):

Reply via email to