IndianOpenSourceFoundation / dynamic-cli

A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI
https://pypi.org/project/dynamic-cli/
GNU General Public License v3.0
168 stars 120 forks source link

Used html module to unescape html characters #194

Open Blackmamoth opened 1 year ago

Blackmamoth commented 1 year ago

Related Issue

While displaying question titles in the panel, if the question contained and some character like '"' (double quote) it was displayed as its corresponding html escape character which is '\"' which didn't seem human readable at all if there multiple html escape characters in a title.

Closes: #184

Describe the changes you've made

I created a function which uses the built in html module to unescape those characters from that particular title.

Checklist:

Screenshots

Input string: ' vs " in c

Original Updated
image image
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information