FontAwesome: Difference between revisions
No edit summary |
figured out what was blowing up FontAwesome |
||
| Line 95: | Line 95: | ||
=== Problems === | === Problems === | ||
There may be bugs that have to be tracked down with regard to using it on a wiki site. | There may be bugs that have to be tracked down with regard to using it on a wiki site. | ||
# The problems I originally encountered mysteriously disappeared. The main caveat being that FA does not preview. It only shows up on 'Save'. | It turns out that Tidy was interfering with FontAwesome by removing the empty tags. | ||
# <strike>The problems I originally encountered mysteriously disappeared. The main caveat being that FA does not preview. It only shows up on 'Save'.</strike> | |||
# <strike>Font Awesome only seems to work if there is an actual image on the page. For example, this is an edit icon from a normal svg file. <nowiki>[[Image:Edit icon.svg|30px]]</nowiki>. Remove that and your Font Awesome icon will disappear. Note: the image file doesn't even have to exist, it's just that the image processing code is not called unless there is a <nowiki>[[File:]]</nowiki> tag in the wikitext.</strike> | # <strike>Font Awesome only seems to work if there is an actual image on the page. For example, this is an edit icon from a normal svg file. <nowiki>[[Image:Edit icon.svg|30px]]</nowiki>. Remove that and your Font Awesome icon will disappear. Note: the image file doesn't even have to exist, it's just that the image processing code is not called unless there is a <nowiki>[[File:]]</nowiki> tag in the wikitext.</strike> | ||
# <strike>And FA doesn't work if I close the tag properly. </strike> | # <strike>And FA doesn't work if I close the tag properly. </strike> | ||