Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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