Commit c262b91d authored by Fabien Morin's avatar Fabien Morin

add alt markup for ExternalEditor img to have more valid grep pages


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18802 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3390b4f
......@@ -56,7 +56,8 @@ def grep(self, pattern, A=0, B=0, r=1, i=0):
'/'.join(path_element_list[:-1]), path_element_list[-1])
html_element_list.append(
'<a href="%s/manage_workspace">%s</a>&nbsp;<a href="%s">'
'<img border="0" src="/misc_/ExternalEditor/edit_icon"/></a> %s<br/>'
'<img border="0" src="/misc_/ExternalEditor/edit_icon" '\
'alt="externalEditor Icon"/></a> %s<br/>'
% (path, path, external_editor_link, line.replace('\n', '<br/>')))
html_element_list.extend(['</body>', '</html>'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment