Hi i have a small problem with hyperlink in QTextBrowser.
I create links with this code with ID from json parsing:
ID = data["response"]["recordings"][0]["id"]
aLink = " <a href=http://***/archive/edit?id=%s>%s</a>" % (ID, ID)
print(aLink)
When i print link i get:
<a href=http://***/archive/edit?id=17452>17452</a>
The problem is that when i use this to create hyperlink in QTextBrowser, the link is created but it holds only this:
http://***/archive/edit?id
Somehow i loose this part of code "=17452" when i append link to QtextBrowser
self.textBrowser.append(aLink)
Any ideas?