mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Revert font awesome 5 changes
We are still pushing ahead on this 100% just need a bit longer to prepare all plugins
This commit is contained in:
@ -9,10 +9,7 @@ componentTest("default", {
|
||||
const html = this.$()
|
||||
.html()
|
||||
.trim();
|
||||
assert.equal(
|
||||
html,
|
||||
'<svg class="fa d-icon d-icon-bars svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use xlink:href="#bars"></use></svg>'
|
||||
);
|
||||
assert.equal(html, '<i class="fa fa-bars d-icon d-icon-bars"></i>');
|
||||
}
|
||||
});
|
||||
|
||||
@ -25,7 +22,7 @@ componentTest("with replacement", {
|
||||
.trim();
|
||||
assert.equal(
|
||||
html,
|
||||
'<svg class="fa d-icon d-icon-d-watching svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use xlink:href="#exclamation-circle"></use></svg>'
|
||||
'<i class="fa fa-exclamation-circle d-icon d-icon-d-watching"></i>'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user