diff --git a/recipes/granta.recipe b/recipes/granta.recipe index 948dd53863..bd3d5d8b5c 100644 --- a/recipes/granta.recipe +++ b/recipes/granta.recipe @@ -159,10 +159,12 @@ def absurl(url): url = 'https://www.granta.com' + url return url + def stripstyle(tag): if tag is not None: del tag['style'] + def get_innermost_string(tag): while hasattr(tag, 'contents') and len(tag.contents) > 0 and tag.contents[0] is not None: tag = tag.contents[0]