Skip to content

Commit

Permalink
Do Not Inherit rel and target Attribute(s) from Link(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Apr 15, 2022
1 parent b86c736 commit 1af25a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ParsedownExtraPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

class ParsedownExtraPlugin extends ParsedownExtra {

const version = '1.3.6';
const version = '1.3.7';

public $abbreviationData = array();

Expand Down Expand Up @@ -60,7 +60,7 @@ class ParsedownExtraPlugin extends ParsedownExtra {

public $headerText = null;

public $imageAttributes = array();
public $imageAttributes = array('rel' => null, 'target' => null);

public $imageAttributesOnParent = false;

Expand Down Expand Up @@ -585,4 +585,4 @@ protected function parseAttributeData($attributeString) {
return $Attributes;
}

}
}

0 comments on commit 1af25a0

Please sign in to comment.