diff options
Diffstat (limited to 'webmentions_ssg/tasks/mentions.py')
| -rw-r--r-- | webmentions_ssg/tasks/mentions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webmentions_ssg/tasks/mentions.py b/webmentions_ssg/tasks/mentions.py index 687ba38..8f41902 100644 --- a/webmentions_ssg/tasks/mentions.py +++ b/webmentions_ssg/tasks/mentions.py @@ -57,8 +57,9 @@ def html_mentions_target(body: bytes, source_url: str, target_url: str) -> bool: def text_mentions_target(body: str, target_url: str) -> bool: - """Check whether plain text contains the target IRI, ignoring trailing prose - punctuation but not extra URL path or query characters. + """Check whether plain text contains the target IRI. + + Ignore trailing prose punctuation, but not extra URL path or query characters. :param body: Plain-text document body. :param target_url: Exact IRI to look for. |
