Skip to content

Commit

Permalink
Merge pull request #47 from j-zero/develop
Browse files Browse the repository at this point in the history
added "data-sort-value" to ignored HTML attributes
  • Loading branch information
bovender authored Mar 31, 2021
2 parents a77bf03 + 3c3ec61 commit 4a2d7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Splitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private function buildSplitter() {
'<div.*?>|<\/div>|' . // attributes of div elements
'<span.*?>|<\/span>|' . // attributes of span elements
'<file>[^<]*<\/file>|' . // stuff inside file elements
'style=".+?"|class=".+?"|' . // styles and classes (e.g. of wikitables)
'style=".+?"|class=".+?"|data-sort-value=".+?"|' . // styles and classes (e.g. of wikitables)
'<noautolinks>.*?<\/noautolinks>|' . // custom tag 'noautolinks'
'\[' . $urlPattern . '\s.+?\]|'. $urlPattern . '(?=\s|$)|' . // urls
'(?<=\b)\S+\@(?:\S+\.)+\S+(?=\b)' . // email addresses
Expand Down

0 comments on commit 4a2d7c9

Please sign in to comment.