Skip to content

Commit b057d70

Browse files
authored
i forgot about gemoji (#973)
[![PR App][icn]][demo] | Fix RM-XYZ :-------------------:|:----------: ## 🧰 Changes Updates Gemoji for new Font Awesome classes No good: ```.fa.fa-house``` Now good: ```.fa-regular.fa-house``` ## 🧬 QA & Testing - [Broken on production][prod]. - [Working in this PR app][demo]. [demo]: https://markdown-pr-PR_NUMBER.herokuapp.com [prod]: https://SUBDOMAIN.readme.io [icn]: https://user-images.githubusercontent.com/886627/160426047-1bee9488-305a-4145-bb2b-09d8b757d38a.svg
1 parent 6360191 commit b057d70

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
Loading

__tests__/parsers/gemoji.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('gemoji parser', () => {
4545
"hName": "i",
4646
"hProperties": {
4747
"className": [
48-
"fa",
48+
"fa-regular",
4949
"fa-lock",
5050
],
5151
},

processor/transform/gemoji+.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const gemojiReplacer = (_, name: string) => {
2424
data: {
2525
hName: 'i',
2626
hProperties: {
27-
className: ['fa', name],
27+
className: ['fa-regular', name],
2828
},
2929
},
3030
};

0 commit comments

Comments
 (0)