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

Meta elements are not recognised by Lua filters in topdown traversal #9381

Open
kopeckyf opened this issue Jan 29, 2024 · 0 comments
Open

Meta elements are not recognised by Lua filters in topdown traversal #9381

kopeckyf opened this issue Jan 29, 2024 · 0 comments
Labels

Comments

@kopeckyf
Copy link

There is a general strategy of skipping sub-trees in topdown traversal with Lua filters. For example, the following skips Cite objects:

traverse = 'topdown'

function Cite (n)
  return n, false
end

But it does not seem to work to filter for some objects.

In discussion #9369, @tarleb mentioned that this approach does not work for Meta elements because it is not implemented in the code and invited me to open an issue here.

@kopeckyf kopeckyf added the bug label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant