Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.11k stars 4.94k forks source link

Bug: encoding error on @bulletCharacter list, displays '• instead of \2022 #6867

Open anthonyalbertyn opened 5 years ago

anthonyalbertyn commented 5 years ago

List component bullets appear as • instead of bullets utf-8 \2022. Problem was showing up in Android and iOS after using Cordova to create the app. Traced the issue and not a Cordova problem but a CSS issue.

Quick fix would be to change @bulletCharacter: '•'; to @bulletCharacter: '\2022'; in the default theme

https://github.com/Semantic-Org/Semantic-UI/blob/master/src/themes/default/elements/list.variables#L163

A similar issue was reported by ruimcf in in 2017 in semantic-ui-react (a different project I know) but layershifter dismissed this as not an issue in semantic-ui-react.

Hopefully this can be fixed in the future :)

lubber-de commented 5 years ago

Fixed it for Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/1001

anthonyalbertyn commented 5 years ago

Thanks for the fix @lubber-de !