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

Issue with newline characters #21

Open
hendrik-hog opened this issue Dec 7, 2021 · 2 comments · May be fixed by #41
Open

Issue with newline characters #21

hendrik-hog opened this issue Dec 7, 2021 · 2 comments · May be fixed by #41

Comments

@hendrik-hog
Copy link

tuples1 = [
    (
        "This is a \n test.",
        "Result",
        "#FFFF00",
    ),
    " Sentence 2.",
]
tuples2 = [
    (
        "This is a \n \n test.",
        "Result",
        "#FFFF00",
    ),
    " Sentence 2.",
]
annotated_text(*tuples1)
annotated_text(*tuples2)

Excecuting this code throws the following error:

image

I suppose this happens because of the double newline characters.

@thjco
Copy link

thjco commented Nov 4, 2022

I was running into the same issue... Did you find a workaround or do you know if somebody is taking care of this bug?

@GrigoriiTarasov
Copy link

Currently it not fails with error but gives no background for further lines behavior
small_current

@GrigoriiTarasov GrigoriiTarasov linked a pull request Jun 10, 2024 that will close this issue
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 a pull request may close this issue.

3 participants