Source code of Python files seems to have placeholders (what looks like something to be used with str.format()) inserted into blank lines of docstrings.
str.format()
For example: https://pagure.io/pagure/blob/d12560cb9c78b6b86727e065489d3490a6e3ab18/f/pagure/hooks/default.py#_5
If I look at the checked out file with a texteditor, this {1} string isn't present.
{1}
Metadata Update from @pingou: - Issue set to the milestone: 5.2 - Issue tagged with: JS, UI, bug
Seems related to https://github.com/highlightjs/highlight.js/issues/1703
Yup and it seems to be fixed in the latest version of the lib https://github.com/wcoder/highlightjs-line-numbers.js/issues/42
https://pagure.io/pagure/pull-request/4102 updates the js library to the version that contains the fix
Metadata Update from @cverna: - Issue assigned to cverna
Commit 158a00b4 fixes this issue