Skip to content

Commit

Permalink
details: Fix plain text rendering of descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
  • Loading branch information
ikeydoherty committed Feb 5, 2017
1 parent f05ff30 commit 09c7971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solus_sc/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,5 @@ def render_plain(self, input_string):
""" Render a plain version of the description, no markdown """
plain = As.markup_convert(input_string, -1,
As.MarkupConvertFormat.SIMPLE)
plain = plain.replace("&quot;", "\"")
plain = plain.replace("&quot;", "\"").replace("&apos;", "'")
return plain

0 comments on commit 09c7971

Please sign in to comment.