De-html is a package to decode HTML encoded symbols in a string. It scans a string for HTML encoded codes and replaces them with the corresponding symbols.
The package can be installed with
npm install de-html
It can then be used in the code.
import { decode } from 'de-html';
decode("This is a hashtag: # "); // => This is a hashtag #