Skip to content

Commit

Permalink
fix(ui): allow Font Awesome fa-classic in QIcon (fix: #17483) (#17486)
Browse files Browse the repository at this point in the history
Validates Font Awsome v6 fa-classic class in QIcon

Co-authored-by: Mark Lister <mark.lister@revolutionviewing.com>
  • Loading branch information
mjwlist and Mark Lister authored Sep 5, 2024
1 parent 8cb8f6f commit 709f6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/icon/QIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const mRE = /^[Mm]\s?[-+]?\.?\d/
const imgRE = /^img:/
const svgUseRE = /^svguse:/
const ionRE = /^ion-/
const faRE = /^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /
const faRE = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /

export default createComponent({
name: 'QIcon',
Expand Down

0 comments on commit 709f6c8

Please sign in to comment.