Dear Günter, yes, for me I could fix by changing if role_fn: nodes, messages2 = role_fn(role, rawsource, text, lineno, self) try: nodes[0][0].rawsource = unescape(text, True) except IndexError: pass return nodes, messages + messages2 to if role_fn: nodes, messages2 = role_fn(role, rawsource, text, lineno, self) try: nodes[0][0].rawsource = unescape(text, True) except (IndexError, AttributeError): pass return nodes, messages + messages2 But to help me change code to conforming, what should I be using...
"bugfix" on 0.15 breaks code ".rawsource = unescape"
This fix now breaks my code. Exception occurred: File "/home/alex/Python/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 882, in interpreted nodes[0][0].rawsource = unescape(text, True) AttributeError: 'str' object has no attribute 'rawsource' with the log file # Sphinx version: 2.1.2 # Python version: 3.7.4 (CPython) # Docutils version: 0.15.1 release # Jinja2 version: 2.10.1 # Last messages: # building [html]: targets for 0 source files that are out of date # updating environment:...