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

Strip control codes in Text.append_tokens #3015

Closed
wants to merge 2 commits into from
Closed

Strip control codes in Text.append_tokens #3015

wants to merge 2 commits into from

Conversation

hamdanal
Copy link

@hamdanal hamdanal commented Jul 2, 2023

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

Fixes #3014
Strip control codes in Text.append_tokens similar to Text.__init__ and Text.append

@willmcgugan
Copy link
Collaborator

This appears to workaround the issue rather than fix it. It doesn't take in to account cell length.

Appreciate the PR, but I think we will solve this a different way.

@willmcgugan willmcgugan closed this Jul 1, 2024
@hamdanal hamdanal deleted the fix-append-tokens branch July 1, 2024 18:48
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.

[BUG] Text.append_tokens does not strip control codes
2 participants