code: def replace(self, src):
          "Given some source html substitute and annotated as applicable"
          for html in self.substitutions.keys():
              if src == html:
                  annotation = self.annotation % self.substitutions[src][1]
                  return annotation + self.substitutions[src][0]
          return srf replace(self, src):
          "Given some source html substitute and annotated as applicable"
          for html in self.substitutions.keys():
              if src == html:
                  annotation = self.annotation % self.substitutions[src][1]
                  return annotation + self.substitutions[src][0]
          return src
docs: Given some source html substitute and annotated as applicable