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

README markdown shows as expected on Github but incorrectly on pub.dev #7559

Open
faithoflifedev opened this issue Mar 14, 2024 · 1 comment

Comments

@faithoflifedev
Copy link

faithoflifedev commented Mar 14, 2024

URL: https://pub.dev/packages/google_vision

On the page for the referenced package there is a table titled New Helper Methods the table has a number of cells in the Method Signature column that are missing data. When viewing the same table for the package on Github - README the data in these cells appears correctly.

pub.dev
Screenshot 2024-03-14 at 2 25 33 PM

github.com
Screenshot 2024-03-14 at 2 26 07 PM

Should it be assumed that README files should render the same on poth github.com and pub.dev?

@isoos
Copy link
Collaborator

isoos commented Mar 15, 2024

Should it be assumed that README files should render the same on poth github.com and pub.dev?

We don't promise 1:1 rendering, but in general we strive to get similar output. In this case, this seems to be a combination of markdown rendering and HTML sanitization: the markdown output creates an unescaped <TagLikeItem> and our HTML sanitization removes it as invalid HTML tag.

Filed:
dart-lang/markdown#596

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

No branches or pull requests

2 participants