WEBCAL: Wrong web calendar title on home page
Fixes #11354 This PR solves the possibility to have ">", "<" in the title
This commit is contained in:
parent
d5bb4da5a1
commit
57d8dcd574
@ -126,7 +126,7 @@ class WebCalReport(Report):
|
||||
self._ = self.rlocale.translation.sgettext
|
||||
|
||||
self.html_dir = mgobn('target')
|
||||
self.title_text = mgobn('title')
|
||||
self.title_text = html_escape(mgobn('title'))
|
||||
filter_option = options.menu.get_option_by_name('filter')
|
||||
self.filter = filter_option.get_filter()
|
||||
self.name_format = mgobn('name_format')
|
||||
@ -1598,7 +1598,7 @@ class WebCalReport(Report):
|
||||
output_file = self.create_file('index', "")
|
||||
|
||||
# page title
|
||||
title = self._("My Family Calendar")
|
||||
title = self.title_text
|
||||
|
||||
nr_up = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user