8000 Add support for indented link references on excerpt by eloyesp · Pull Request #5212 · jekyll/jekyll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ jekyll Public

Add support for indented link references on excerpt #5212

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

Merged
merged 1 commit into from
Oct 5, 2016

Conversation

eloyesp
Copy link
Contributor
@eloyesp eloyesp commented Aug 8, 2016

Excerpt link reference extraction is missing all the indented references
at the bottom of the page. Markdown specify that those can be indented up
to three spaces.

I've also added a title to the link in the test.

@eloyesp eloyesp force-pushed the fix-excerpt-link-finder branch from 6b8843d to 735b3b8 Compare August 8, 2016 14:46
@parkr
Copy link
Member
parkr commented Aug 11, 2016

Why would a reference be indented like this? Also, can you add tests for this instead of modifying pre-existing ones? Thanks!

@eloyesp eloyesp force-pushed the fix-excerpt-link-finder branch from 735b3b8 to 1275a59 Compare August 16, 2016 15:27
@eloyesp
Copy link
Contributor Author
eloyesp commented Aug 16, 2016

@parkr

Why would a reference be indented like this?

I think that it makes it more readable, it seems that stack overflow thinks the same.

Also, can you add tests for this instead of modifying pre-existing ones?

I think that adding more tests could make the test suite harder to read, but I've changed that as requested.

@envygeeks
Copy link
Contributor

I think that adding more tests could make the test suite harder to read, but I've changed that as requested.

The test suite isn't there for you to read, it's there for us to make sure what you do works.

@eloyesp
Copy link
Contributor Author
eloyesp commented Aug 31, 2016

Any news about this PR? The failing tests are not related to the introduced changes.

@envygeeks
Copy link
Contributor

@eloyesp I restarted the tests and they failed a second time, can you double check your changes didn't cause the failure please!

@pathawks
Copy link
Member

Failure is because you added a post to the test site, so the number of generated posts is different from what the test suite expects.

@eloyesp eloyesp force-pushed the fix-excerpt-link-finder branch from 1275a59 to 371d21b Compare September 1, 2016 21:12
@eloyesp
Copy link
Contributor Author
eloyesp commented Sep 2, 2016

thanks @pathawks, It's fixed now.

---
---

This is the first paragraph. It [have][link_0] [lots][link_1] [of][link_2]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'has', not 'have'

Excerpt link reference extraction is missing all the indented references
at the bottom of the page. Markdown specify that those can be indented up
to three spaces.
@eloyesp eloyesp force-pushed the fix-excerpt-link-finder branch from 371d21b to 9b09d8a Compare September 2, 2016 20:21
@parkr
Copy link
Member
parkr commented Sep 9, 2016

LGTM.

@parkr parkr added this to the 3.3 milestone Sep 9, 2016
@envygeeks
Copy link
Contributor

LGTM.

@parkr
Copy link
Member
parkr commented Oct 5, 2016

@jekyllbot: merge +minor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0