From f11ecd05d6c55e55438ad3c701dec6cda8724ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 30 Jul 2023 23:14:29 +0200 Subject: [PATCH] Fix: find links in list tags. --- org_rw/org_rw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org_rw/org_rw.py b/org_rw/org_rw.py index c40f0e4..3d2c14d 100644 --- a/org_rw/org_rw.py +++ b/org_rw/org_rw.py @@ -733,6 +733,8 @@ class Headline: for lst in self.get_lists(): for item in lst: + if item.tag: + yield from get_links_from_content(item.tag) yield from get_links_from_content(item.content) def get_lines_between(self, start, end):