Skip to content

Enable possibility of taking the tag name into account when deciding whether to use a class/id/attr.#74

Open
eoghanmurray wants to merge 1 commit into
antonmedv:masterfrom
eoghanmurray:addTagNameArg
Open

Enable possibility of taking the tag name into account when deciding whether to use a class/id/attr.#74
eoghanmurray wants to merge 1 commit into
antonmedv:masterfrom
eoghanmurray:addTagNameArg

Conversation

@eoghanmurray

Copy link
Copy Markdown

Main motivation is to only allow the src attribute to be used if it's on an image , so I'd be happy if only config.attr was updated with this change, but included the others for completeness.

@eoghanmurray

Copy link
Copy Markdown
Author

I didn't update docs as thought it might confuse things too much

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.

1 participant