Skip to content

Conversation

@taoky
Copy link
Contributor

@taoky taoky commented Jan 14, 2024

Recently when auditing my laptop's log, I found that sometimes tilix outputs errors like this:

Jan 14 19:16:46 hostname tilix[602551]: Failed to set text '1: sleep 10 && ls ~' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

This could be easily reproduced with fish shell:

> tilix --new-process

And then in the new tilix window (in fish):

> sleep 10 && ls

And you could get this Gtk warning (The GtkLabel inside the GtkBox is also not updated). This PR simply uses setText instead of setMarkup, as it seems that no pango markup is actually used here.

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.

2 participants