Skip to content

Commit

Permalink
Fix sphinx-doc#10594: HTML: field term colons are doubled if using Do…
Browse files Browse the repository at this point in the history
…cutils 0.18+
  • Loading branch information
jfbu committed Jun 25, 2022
1 parent 949984c commit 946aeb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -16,6 +16,8 @@ Features added
Bugs fixed
----------

#10594: HTML: field term colons are doubled if using Docutils 0.18+

Testing
--------

Expand Down
6 changes: 6 additions & 0 deletions sphinx/themes/basic/static/basic.css_t
Expand Up @@ -686,6 +686,12 @@ dl.field-list > dt {
padding-right: 5px;
}

/* Compatibility patch for Docutils 0.18+ */
dl.field-list > dt .colon {
display: none;
}

/* Docutils 0.17 and older */
dl.field-list > dt:after {
content: ":";
}
Expand Down

0 comments on commit 946aeb9

Please sign in to comment.