web/views/ibreadcrumbs.py
branchstable
changeset 7976 48e1f7992507
parent 7511 dfe6c25c6371
child 7979 8bd5031e2201
equal deleted inserted replaced
7975:6ea7378b2c14 7976:48e1f7992507
   157             textsize = self._cw.property_value('navigation.short-line-size')
   157             textsize = self._cw.property_value('navigation.short-line-size')
   158             w(self.link_template % (
   158             w(self.link_template % (
   159                 xml_escape(url), xml_escape(uilib.cut(title, textsize))))
   159                 xml_escape(url), xml_escape(uilib.cut(title, textsize))))
   160         else:
   160         else:
   161             textsize = self._cw.property_value('navigation.short-line-size')
   161             textsize = self._cw.property_value('navigation.short-line-size')
   162             w(uilib.cut(unicode(part), textsize))
   162             w(xml_escape(uilib.cut(unicode(part), textsize)))
   163 
   163 
   164 
   164 
   165 class BreadCrumbETypeVComponent(BreadCrumbEntityVComponent):
   165 class BreadCrumbETypeVComponent(BreadCrumbEntityVComponent):
   166     __select__ = (basecomponents.HeaderComponent.__select__
   166     __select__ = (basecomponents.HeaderComponent.__select__
   167                   & multi_lines_rset() & one_etype_rset()
   167                   & multi_lines_rset() & one_etype_rset()