Commit 960684be authored by Andreas Heimann's avatar Andreas Heimann

make HTML accessible through adTitle

parent 93504432
...@@ -109,7 +109,7 @@ function BuildAdDOM(adItem) { ...@@ -109,7 +109,7 @@ function BuildAdDOM(adItem) {
// Title // Title
let adTitle = document.createElement("div"); let adTitle = document.createElement("div");
adTitle.classList.add("ad-title"); adTitle.classList.add("ad-title");
adTitle.innerText = adItem.title; adTitle.innerHTML = adItem.title;
adContainer.appendChild(adTitle); adContainer.appendChild(adTitle);
// Button // Button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment