https://bugzilla.xfce.org/show_bug.cgi?id=12715
Bug ID: 12715
Summary: xfce_dialog_show_error() fails to show text containing
ampersand
Classification: Xfce
Product: Libxfce4ui
Version: 4.13.0
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: minor
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: 4.14
xfce_dialog_show_error() does not show strings containing ampersand chars:
Gtk-WARNING **: Failed to set text '<span weight='bold' size='large'>Failed to
open the URL 'news:?xt=13415&amv'</span>' 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 &
The solution would be either to replace ampersand with "&" within
xfce_dialog_show_error(), or the caller should do this.
The problem with the second option is that C library does not provide a
function to replace string char(s) with other chars; so please consider the
first option.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs