Comment 10 for bug 296953

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Having got bored of this problem showing up recently, I played around with various regexps to try and fix it neatly. However, I eventually noticed that I could just replace all & with & and the links still worked!

e.g., you can demo this with libnotify-bin

notify-send 'Bug 296953' 'Testing this bug showed we can &amp; as much as we like even in links like <a href="http://www.google.com/search?hl=en&amp;q=http://www.google.com/search?num=50&amp;hl=en&amp;q=%2Bgwibber+%2Bbug+%2B296953">http://www.google.com/search?hl=en&amp;q=http://www.google.com/search?num=50&amp;hl=en&amp;q=%2Bgwibber+%2Bbug+%2B296953</a>'

So a naive fix (for testing) is now available in lp:~oldman/gwibber/bug-296953

Please test!