Skip to content

Commit

Permalink
add style override to A tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Jun 26, 2024
1 parent 5fb1f6b commit 793714b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wombat.js
Original file line number Diff line number Diff line change
Expand Up @@ -2323,6 +2323,7 @@ Wombat.prototype.rewriteElem = function(elem) {
break;
case 'A':
changed = this.rewriteAttr(elem, 'href') || changed;
changed = this.rewriteAttr(elem, 'style') || changed;
if (elem.hasAttribute('target')) {
var newTarget = this.rewriteAttrTarget(elem.target);
if (newTarget !== elem.target) {
Expand Down

0 comments on commit 793714b

Please sign in to comment.