Use em instead of i and strong instead of b

They are semantically more correct

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-03-12 18:43:18 +02:00
parent ffdffbc262
commit bca58f6683
6 changed files with 9 additions and 7 deletions

View File

@@ -264,5 +264,7 @@ $(document).ready(function () {
});
// Add a small legend below the CNAME table
$("#cnameRecords-Table").after("<small>* <b>TTL</b> in seconds <i>(optional)</i></small>");
$("#cnameRecords-Table").after(
"<small>* <strong>TTL</strong> in seconds <em>(optional)</em></small>"
);
});

View File

@@ -26,10 +26,10 @@ function formatDnsmasq(line) {
if (line.includes("denied") || line.includes("gravity blocked")) {
// Red bold text for blocked domains
txt = `<b class="log-red">${txt}</b>`;
txt = `<strong class="log-red">${txt}</strong>`;
} else if (line.includes("query[A") || line.includes("query[DHCP")) {
// Bold text for initial query lines
txt = `<b>${txt}</b>`;
txt = `<strong>${txt}</strong>`;
} else {
// Grey text for all other lines
txt = `<span class="text-muted">${txt}</span>`;