Skip to content

Conversation

joltmans
Copy link

This script works just the same as before by default but now if there is
no thead element, a thead is inserted and the first row found is moved into the
thead element. This allows the script to work in places where a proper
thead may not be generated.

This script works just the same as before by default but now if there is
no thead element a thead is inserted and the first row is moved into the
thead element. This allows the script to work in  places where a proper
thead may not be generated.
@joltmans
Copy link
Author

I made this because I was trying to get this to work in Confluence. Confluence does not actually have a thead element in it's rendering of the wiki. This fix really helped solve the issue and I think it's a simple change. It may not play nice with some of the other outstanding merge requests (like multiple header rows) so let me know if you want me to rebase off of any of those first..

Thank you!

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