Pixabay / jQuery-tagEditor

A powerful and lightweight tag editor plugin for jQuery.
501 stars 164 forks source link

Charset issue with delete button × #149

Open tazoony opened 6 years ago

tazoony commented 6 years ago

Hi everybody,

I encountered an issue in my application in which I use now TagEditor, with the × character for the tag deletion button : image

👍 I solved this problem by using encoded char in the CSS file :

.tag-editor .tag-editor-delete i:before { font-size: 16px; color: #8ba7ba; content: "\00D7"; font-style: normal; }

instead of

.tag-editor .tag-editor-delete i:before { font-size: 16px; color: #8ba7ba; content: "×"; font-style: normal; }

I thought you would like to change this in your CSS. I hope that it would help people who could encounter the same issue ;-)

Joffrey

grexor commented 5 years ago

This can also be solved by adding the: charset="utf-8"

<link href="jquery.tag-editor.css" rel="stylesheet" type="text/css" charset="utf-8">

to the loading of the css file,

Cheers, Gregor