@@ -40,7 +40,7 @@ class Job(ContentManageable):
40
40
company = models .ForeignKey ('companies.Company' , related_name = 'jobs' , blank = True , null = True )
41
41
42
42
company_name = models .CharField (max_length = 100 , blank = True , null = True )
43
- company_description = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE )
43
+ company_description = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE , escape_html = True )
44
44
job_title = models .CharField (blank = True , null = True , max_length = 100 )
45
45
46
46
city = models .CharField (max_length = 100 )
@@ -49,8 +49,8 @@ class Job(ContentManageable):
49
49
location_slug = models .SlugField (max_length = 350 , editable = False )
50
50
country_slug = models .SlugField (max_length = 100 , editable = False )
51
51
52
- description = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE )
53
- requirements = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE )
52
+ description = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE , escape_html = True )
53
+ requirements = MarkupField (blank = True , default_markup_type = DEFAULT_MARKUP_TYPE , escape_html = True )
54
54
55
55
contact = models .CharField (null = True , blank = True , max_length = 100 )
56
56
email = models .EmailField ()
0 commit comments