mirror of
https://github.com/munki/munki.git
synced 2026-04-21 03:58:20 -05:00
Flag descriptions parsed from dist files as text/html so we can distinguish them from plain text descriptions.
git-svn-id: http://munki.googlecode.com/svn/trunk@597 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -220,6 +220,9 @@ def parseDist(filename):
|
||||
# append the line to the description
|
||||
description += line + "\n"
|
||||
|
||||
if description:
|
||||
# flag this as HTML content so we can display it properly later
|
||||
description = "Content-type: text/html\n\n" + description
|
||||
return title, vers, description
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user