Skip to content

Commit fc35768

Browse files
committed
test: Update expected files to remove trailing # from URLs
URLs to pages without anchors should not have a trailing #
1 parent 1f8a5af commit fc35768

File tree

3 files changed

+3
-3
lines changed
  • tests/Integration
    • tests-full/bootstrap
      • bootstrap-menu-external-linktargets/expected
      • bootstrap-menu-external-on-subpage/expected
    • tests/toctree/toctree-external-linktargets/expected

3 files changed

+3
-3
lines changed

tests/Integration/tests-full/bootstrap/bootstrap-menu-external-linktargets/expected/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h1>Document Title</h1>
8787

8888
</li>
8989
<li class="toc-item">
90-
<a href="/page1.html#">Some Page</a>
90+
<a href="/page1.html">Some Page</a>
9191

9292

9393
</li>

tests/Integration/tests-full/bootstrap/bootstrap-menu-external-on-subpage/expected/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h1>Document Title</h1>
109109

110110
</li>
111111
<li class="toc-item">
112-
<a href="/page1.html#">Some Page</a>
112+
<a href="/page1.html">Some Page</a>
113113
<ul class="menu-level-1">
114114
<li class="toc-item">
115115
<a href="https://example.com/index.html#another">Title 2</a>

tests/Integration/tests/toctree/toctree-external-linktargets/expected/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>Document Title</h1>
1515

1616
</li>
1717
<li class="toc-item">
18-
<a href="/page1.html#">Some Page</a>
18+
<a href="/page1.html">Some Page</a>
1919

2020

2121
</li>

0 commit comments

Comments
 (0)