PostList: render without em-tag. Formating should be done in css, not (hidden and) hardcoded

This commit is contained in:
Albert Mietus 2015-08-03 11:23:21 +02:00
parent 697e599ba8
commit 04a8eba7d5

View file

@ -426,9 +426,7 @@ def process_postlist(app, doctree, docname):
ref['classes'] = []
ref['names'] = []
ref['internal'] = True
emp = nodes.emphasis()
ref.append(emp)
emp.append(nodes.Text(text_type(item)))
ref.append(nodes.Text(text_type(item)))
else:
ref = _missing_reference(app, item.xref, docname)
par.append(ref)