Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charset issue with delete button × #149

Open
tazoony opened this issue Sep 20, 2018 · 1 comment
Open

Charset issue with delete button × #149

tazoony opened this issue Sep 20, 2018 · 1 comment

Comments

@tazoony
Copy link

tazoony commented Sep 20, 2018

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
Copy link

grexor commented Mar 29, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants