Skip to content

Bugs in links_from_content #1592

@PhilipPartsch

Description

@PhilipPartsch

In the Dynamic Function links_from_content are bugs:

First:
It is not detecting needpart, so :need:`id.part` is not working.

Secoundly, if we do have a content like:

content = """
:need:`foo <bar>`
:need:`foo3 <bar>`
"""

The output would be:
['bar', 'bar']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions