Skip to content

Commit 0164305

Browse files
pudivaTylerDixon
andcommitted
Fix id names in rst renders after docutils 0.18
Fix id names changing in rst renders with the upgrade to docutils 0.18 by restoring the old default value of `auto_id_prefix`. See: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-18-2021-10-26 co-authored-by: Tyler Dixon <tylerdixon@github.com>
1 parent ea39059 commit 0164305

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/github/commands/rest2html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ SETTINGS = {
160160
'syntax_highlight': 'none',
161161
'math_output': 'latex',
162162
'field_name_limit': 50,
163+
'auto_id_prefix': 'id',
163164
}
164165

165166
default_highlight_language = None

0 commit comments

Comments
 (0)