Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extractSpans method so that we can deprecate renderLinks (#21) #25

Merged
merged 1 commit into from
Jun 4, 2018

Conversation

robinst
Copy link
Owner

@robinst robinst commented May 28, 2018

With spans, the code for renderLinks can just be written as a normal
loop with an if statement. This makes it possible to render the text
between links in a special way too (e.g. escape it).

@mindhaq have a look at this (probably mostly the changed example in the README).

With spans, the code for renderLinks can just be written as a normal
loop with an if statement. This makes it possible to render the text
between links in a special way too (e.g. escape it).
@robinst robinst mentioned this pull request May 28, 2018
@robinst robinst merged commit 2296ca4 into master Jun 4, 2018
@robinst robinst deleted the add-spans-to-deprecate-renderlinks branch June 4, 2018 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant