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

Improve container detection in Rootline::determineContentElement #6

Open
justusmoroni opened this issue Mar 19, 2024 · 1 comment
Open
Assignees

Comments

@justusmoroni
Copy link
Member

We currently look if the CType contains _container-.
We need to improve this and see if we can register the containers in an array.
This way we don't have to look in the CType for _container- as some developers could just not include this in their container CTypes.

@justusmoroni justusmoroni self-assigned this Apr 3, 2024
justusmoroni pushed a commit that referenced this issue Apr 3, 2024
Before we checked if a CType contained a specific
string to check if it is a container. This was
open to false positives if a normal content
element also contained this string.

We now check the proper place to detect if a CType
is registered as a container.

Related: #6
justusmoroni pushed a commit that referenced this issue Apr 3, 2024
Before we checked if a CType contained a specific
string to check if it is a container. This was
open to false positives if a normal content
element also contained this string.

We now check the proper place to detect if a CType
is registered as a container.

Related: #6
justusmoroni added a commit that referenced this issue Apr 3, 2024
Before we checked if a CType contained a specific
string to check if it is a container. This was
open to false positives if a normal content
element also contained this string.

We now check the proper place to detect if a CType
is registered as a container.

Related: #6

Co-authored-by: Justus Moroni <justus.moroni@codappix.com>
@extcode
Copy link
Contributor

extcode commented Apr 4, 2024

Will be included in the next release.

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