Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 5cfbc3b

Browse files
committed
Hack the title to remove extra icon
1 parent 64f7d3d commit 5cfbc3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hoverxref/_static/js/hoverxref.js_t

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ $(document).ready(function() {
184184
var title = h1.text()
185185
if (title) {
186186
var link = $('a', h1).attr('href') || '#';
187-
var a = $('<a></a>').attr('href', link).text('{{ hoverxref_modal_prefix_title }}' + title.replace('¶', ''));
187+
var title = title.replace('¶', '').replace('', '');
188+
var a = $('<a></a>').attr('href', link).text('{{ hoverxref_modal_prefix_title }}' + title);
188189
}
189190
else {
190191
var a = '{{ hoverxref_modal_prefix_title }}{{ hoverxref_modal_default_title }}';

0 commit comments

Comments
 (0)