Skip to content

Don't drop internal links#222

Merged
winhamwr merged 4 commits intoCenterForOpenScience:masterfrom
sunu:internal-links
Aug 26, 2016
Merged

Don't drop internal links#222
winhamwr merged 4 commits intoCenterForOpenScience:masterfrom
sunu:internal-links

Conversation

@sunu
Copy link
Contributor

@sunu sunu commented Aug 25, 2016

I tried fixing #221 and this is the rough solution I have for now. If this looks ok, I can polish it up and add tests.

attrs = {
'id': paragraph.bookmark_name
}
return HtmlTag(tag, **attrs)
Copy link
Contributor

Choose a reason for hiding this comment

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

How about:
return HtmlTag(tag, id=paragraph.bookmark_name

@winhamwr
Copy link
Contributor

Hello Tarashish,

This looks very reasonable to me. Add some tests and then I think this is ready for merging.

-Wes

@sunu
Copy link
Contributor Author

sunu commented Aug 26, 2016

@winhamwr Hey! Thanks for the quick feedback. I have added tests now.

@winhamwr winhamwr merged commit 58d3b8e into CenterForOpenScience:master Aug 26, 2016
winhamwr added a commit that referenced this pull request Aug 26, 2016
winhamwr added a commit that referenced this pull request Aug 26, 2016
regneel-TL pushed a commit to regneel-TL/pydocx that referenced this pull request Feb 26, 2024
regneel-TL pushed a commit to regneel-TL/pydocx that referenced this pull request Feb 26, 2024
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.

2 participants