Escape device id in raw HTML.
This commit is contained in:
committed by
Bill Thornton
parent
dbf4e8e3cf
commit
60d3859a2f
@@ -1,5 +1,6 @@
|
||||
const BASE_DEVICE_IMAGE_URL = 'assets/img/devices/';
|
||||
|
||||
// audit note: this module is expected to return safe text for use in HTML
|
||||
function getWebDeviceIcon(browser) {
|
||||
switch (browser) {
|
||||
case 'Opera':
|
||||
|
||||
Reference in New Issue
Block a user