def process_content(self, content): return_content = BaseMap.process_content(self, content) plain_content = layout_utils.get_text(self.plain_content) plain_content += self.regex_end self.content = [] matches_iter = self.full_regex.finditer(plain_content) for match in matches_iter: match_content = match.group(0) modules = self._get_modules(match_content, self.modules_names, self.modules) self.content.append(modules) return return_content
def process_content(self, content): return_content = BaseMap.process_content(self, content) self.content = layout_utils.get_text(self.plain_content) return return_content if return_content else None