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

[ci skip] Fix broken link markup #21195

Merged
merged 1 commit into from
Aug 11, 2015
Merged

[ci skip] Fix broken link markup #21195

merged 1 commit into from
Aug 11, 2015

Conversation

brooksreese
Copy link
Contributor

Under section 5.1 (How Turbolinks Works) of the Working with javascript in rails guide, a link to PushState on the developer.mozilla site exists, but its markup is broken. Because of this, the link doesn't show the 'PushState' text as normal text in brackets and the url is displayed as a full url.

This commit fixes the broken markup so PushState text will be a hyperlink instead of the full url to the link.

@arthurnn
Copy link
Member

@senny senny merged commit f5c3f41 into rails:master Aug 11, 2015
senny added a commit that referenced this pull request Aug 11, 2015
@senny
Copy link
Member

senny commented Aug 11, 2015

@brooksreese thank you 💛 I merged a slightly modified version that let's us keep the anchor:

https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_pushState%28%29_method

@arthurnn the issue was not the link itself but how it was presented on the guides page:

screen shot 2015-08-11 at 17 31 42

@brooksreese brooksreese deleted the fix_broken_link_markup branch August 11, 2015 15:38
@brooksreese
Copy link
Contributor Author

Thanks - the markup looks good now and the anchor worked when I clicked it.

senny added a commit that referenced this pull request Aug 11, 2015
[ci skip] Fix broken link markup

Conflicts:
	guides/source/working_with_javascript_in_rails.md
@arthurnn
Copy link
Member

coolio.. thanks

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.

None yet

3 participants