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

Documentation block on the package info page doesn't display markdown correctly until you click "show more" #4784

Closed
natemcmaster opened this issue Oct 1, 2017 · 2 comments
Assignees

Comments

@natemcmaster
Copy link
Contributor

natemcmaster commented Oct 1, 2017

The gallery's rendering of the short version of the "documentation" block and the expanded section are not the same. The short version does not render markdown correctly. Clicking the "show more" link expands the block and renders the markdown correctly.

Repro

  1. Edit a package. E.g. https://www.nuget.org/packages/Yarn.MSBuild/1.0.1/Edit
  2. Add this URL to the "Import Readme" => "URL" box: https://raw.githubusercontent.com/natemcmaster/Yarn.MSBuild/v1.0.1/README.md. This file contains this section

Expected result

The "Documentation" section of https://www.nuget.org/packages/Yarn.MSBuild/1.0.1 shows the first paragraph or two from my README file

Actual result

See https://www.nuget.org/packages/Yarn.MSBuild/1.0.1

The page shows what is normally "invisible" markdown, aka, markdown links.

Before clicking "Show more"

image

After clicking "Show more"

image

@anangaur
Copy link
Member

anangaur commented Oct 1, 2017

Dupe of #4770

@chenriksson chenriksson self-assigned this Oct 9, 2017
@chenriksson
Copy link
Member

Closing, will track with #4770

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

No branches or pull requests

3 participants