I have a QMessageBox and want to create a link on a new line. I cannot get the link to work when I use \n
link = "www.google.com"
msg = "This works: <a href='%s'>Google</a>" % link
reply = QMessageBox.information(self, 'Message', msg, QMessageBox.Ok, QMessageBox.Ok)
msg = "This does not work: \n<a href='%s'>Google</a>" % link
reply = QMessageBox.information(self, 'Message', msg, QMessageBox.Ok, QMessageBox.Ok)
I would like to get the second example to work.