Skip to content

Links that have styleAttributes don't add the URL attribute #8

@diogot

Description

@diogot

As this snippet shows if there is a styleAttributes for links the url attribute is ignored.

if (styleAttributes[MarkdownStyleLink]) {
replacementAttributes = styleAttributes[MarkdownStyleLink];
}
else {
replacementAttributes = @{ NSLinkAttributeName: URL };
}

I need to customise the link color and keep them tappable.
I'll send a PR soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions