-
Notifications
You must be signed in to change notification settings - Fork 89
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
tag-style color rendering fails if lines contain tag like content #52
Comments
#53 fixes the issue for me. |
hi @TLINDEN
On fails, will match: If change regex
|
But then, there's still an issue, since
Or, if we translate the example into HTML:
You'll get: But not: Now, I see that the |
Ok, while I still think that this behavior is somewhat buggy, I resolved my issue by using So, from my point of view the case could be closed. Thanks for the fast response! |
Thanks you Maybe ... can direct limit all color tag name. eg:
|
System (please complete the following information):
linux
1.18.1
1.5.2
ENV info on the terminal (by command
env | grep -i TERM
):Describe the bug
I am using tag-style color rendeing to colorize tabular data. If multiple lines contain something like this:
<none>
then only the first colorziation works, subsequent ones are not replaced but printed as is.To Reproduce
Expected behavior
The colorziation should work independently from other non color-tag content.
Screenshots
See screenshot attached.
** Edited to add **
The problem occurs ONLY if the "tagged" content appears outside the colorization. If it's inside, it works. Sample code and screenshot updated.
The text was updated successfully, but these errors were encountered: