Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLinks breaks wikitables with "data-sort-value" attribute #46

Open
j-zero opened this issue Mar 24, 2020 · 2 comments
Open

AutoLinks breaks wikitables with "data-sort-value" attribute #46

j-zero opened this issue Mar 24, 2020 · 2 comments

Comments

@j-zero
Copy link

j-zero commented Mar 24, 2020

data-sort-value attributes are not ignored like classor style attributes.
I fixed that siply by adding them to the regular expression in Splitter.php:

'style=".+?"|class=".+?"|data-sort-value=".+?"|' .                

kind regards

Johannes

@bovender
Copy link
Owner

Thanks! Would you be able to issue a pull request? Against the develop branch please.

@bovender
Copy link
Owner

bovender commented Apr 6, 2021

Should be fixed by #47 (this was your PR -- was that your use case?)

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

No branches or pull requests

2 participants