108 |
108 |
109 name = documentationInfo["name"] |
109 name = documentationInfo["name"] |
110 if name: |
110 if name: |
111 title = titleTemplate.replace("@NAME@", name) |
111 title = titleTemplate.replace("@NAME@", name) |
112 if "argspec" in documentationInfo and documentationInfo["argspec"]: |
112 if "argspec" in documentationInfo and documentationInfo["argspec"]: |
113 argspec = Utilities.html_encode(documentationInfo["argspec"]) |
113 argspec = EricUtilities.html_encode(documentationInfo["argspec"]) |
114 for char in ["=", ",", "(", ")", "*", "**"]: |
114 for char in ["=", ",", "(", ")", "*", "**"]: |
115 argspec = argspec.replace( |
115 argspec = argspec.replace( |
116 char, '<span class="argspec-highlight">{0}</span>'.format(char) |
116 char, '<span class="argspec-highlight">{0}</span>'.format(char) |
117 ) |
117 ) |
118 argspec = argspecTemplate.replace("@NAME@", name).replace( |
118 argspec = argspecTemplate.replace("@NAME@", name).replace( |