Skip to content

Commit

Permalink
Fix PyPI long description rendering (#1739)
Browse files Browse the repository at this point in the history
Currently the rendering of gensim's reStructuredText description on PyPI
is broken[1][2], because some characters aren't escaped properly[3]:

>reStructuredText uses backslashes ("\") to override the special meaning
>given to markup characters and get the literal characters themselves.
>To get a literal backslash, use an escaped backslash ("\\").

[1]: https://pypi.python.org/pypi/gensim/3.1.0/
[2]: https://pypi.org/project/gensim/3.1.0/
[3]: http://docutils.sourceforge.net/docs/user/rst/quickref.html#escaping
  • Loading branch information
edigaryev authored and menshikh-iv committed Nov 27, 2017
1 parent 7fabdbd commit c43f333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def finalize_options(self):
@inproceedings{rehurek_lrec,
title = {{Software Framework for Topic Modelling with Large Corpora}},
author = {Radim {\v R}eh{\r u}{\v r}ek and Petr Sojka},
author = {Radim {\\v R}eh{\\r u}{\\v r}ek and Petr Sojka},
booktitle = {{Proceedings of the LREC 2010 Workshop on New
Challenges for NLP Frameworks}},
pages = {45--50},
Expand Down

0 comments on commit c43f333

Please sign in to comment.