Skip to content

Commit

Permalink
Add 'data-info' to the list of semantically relevant attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Mar 11, 2015
1 parent 586a447 commit a382eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "remarkup",
"main": "remarkup.js",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://github.com/addaleax/remarkup",
"author": {
"name": "Hauke Henningsen",
Expand Down
2 changes: 1 addition & 1 deletion remarkup.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function ReMarkup(opt) {
* @member ReMarkup#semanticAttributes
*/
ReMarkup.prototype.semanticAttributes = [
'alt', 'label', 'placeholder', 'title', 'tooltip',
'alt', 'label', 'placeholder', 'title', 'tooltip', 'data-info',
function(name, element) {
return name == 'value' && ['button', 'submit'].indexOf(element.getAttribute('type')) != -1;
}
Expand Down

0 comments on commit a382eb9

Please sign in to comment.