dynamic-cli icon indicating copy to clipboard operation
dynamic-cli copied to clipboard

Used html module to unescape html characters

Open Blackmamoth opened this issue 2 years ago • 1 comments

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:

  • [x] My code follows the style guidelines of this project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [x] I have made corresponding changes to the documentation.
  • [x] My changes generate no new warnings.

Screenshots

Input string: ' vs " in c

Original Updated
image image

Blackmamoth avatar Jun 04 '23 19:06 Blackmamoth

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

sonarqubecloud[bot] avatar Jun 08 '23 09:06 sonarqubecloud[bot]