Skip to content

Commit

Permalink
Revert "Escape the hover text (#650)" (#658)
Browse files Browse the repository at this point in the history
This reverts commit c9a7390.
  • Loading branch information
rwols committed Jul 20, 2019
1 parent 1e09409 commit eba6b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/hover.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def hover_content(self, point, response: 'Optional[Any]') -> str:
value = ""
language = None
if isinstance(item, str):
value = escape(item)
value = item
else:
value = escape(item.get("value"))
value = item.get("value")
language = item.get("language")
if language:
formatted.append("```{}\n{}\n```\n".format(language, value))
Expand Down

0 comments on commit eba6b07

Please sign in to comment.