Hjdskes / dwm-patches

UNMAINTAINED -- A collection of patches for dwm
24 stars 10 forks source link

Pango warning when an ampersand (&) sign is displayed. #2

Open ghost opened 11 years ago

ghost commented 11 years ago

I went to a website with an ampersand in the page title, so that became the title of the window. That gave me a couple hundred of these

Pango-WARNING **: pango_layout_set_markup_with_accel: 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 is reproducible. Any ampersand in the dwm bar (for example in a tag name) that isn't written as & will yield strange results and spawn this error.

Hjdskes commented 11 years ago

The original author of this approach to Pango markup has stated the same issue. You can safely ignore those, and I currently do not know of any way to fix this.

novoselic commented 8 years ago

Still stuck with this. Used & instead of & and still Pango gives the error rolf1304 pasted.

Hjdskes commented 8 years ago

As I said, it's harmless. I'm not the original author of this patch, nor do I use it anymore.

psdshow commented 8 years ago

use "& amp;amp; " replace "&" notice remove the blank

Hjdskes commented 8 years ago

What?

psdshow commented 8 years ago

use "& amp;amp; " replace "&"