http://bugs.winehq.org/show_bug.cgi?id=35231
Bug ID: 35231 Summary: bad HTML in ppa line results in leading space in Firefox Product: WineHQ.org Version: unspecified Hardware: x86-64 URL: http://www.winehq.org/download/ubuntu OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: www-unknown Assignee: wine-bugs@winehq.org Reporter: info@skierpage.com Classification: Unclassified
I followed the instructions in http://www.winehq.org/download/ubuntu , but when I copy and paste the line ppa:ubuntu-wine/ppa into Muon Package Manager (the Kubuntu software installer), the button to add the source wouldn't enable.
The glitch is if you triple-click the line in Firefox (and SeaMonkey) and copy it, it includes a leading space, so the Software Sources dialog thinks it's invalid. The workaround is easy, remove the leading space in the dialog, but it's easy to miss.
The fix is to fix the HTML of that page to not have the whitespace in front. It's currently the invalid
<p>Then, <b>copy and paste the line below</b>.</p>
<i>ppa:ubuntu-wine/ppa</i></p>
If you change the second line to
<p><i>ppa:ubuntu-wine/ppa</i></p>
then the problem goes away.