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

Suggestion: Use microdata instead of classes in html #16

Closed
matthewp opened this issue Jul 24, 2012 · 1 comment
Closed

Suggestion: Use microdata instead of classes in html #16

matthewp opened this issue Jul 24, 2012 · 1 comment

Comments

@matthewp
Copy link

The Post object includes an html property which, in this example, includes classes. Since the className could potentially conflict with the client's own css, I would recommend replacing it with microdata. So the example becomes:

<span itemprop=\"mention\" data-mention-name=\"berg\" data-mention-id=\"2\">@berg</span> FIRST post on <a href=\"https://join.app.net\" rel=\"nofollow\">this new site</a> <span itemprop=\"hashtag\" data-hashtag-name=\"newsocialnetwork\">#newsocialnetwork</span>.
@berg
Copy link
Member

berg commented Jul 24, 2012

Great idea, thanks!

@berg berg closed this as completed in 02f1cdb Jul 24, 2012
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

2 participants