Revision e2d26bad
Added by koszko almost 2 years ago
html/display-panel.js | ||
---|---|---|
276 | 276 |
template.script_contents.textContent = data; |
277 | 277 |
container_for_injected.appendChild(template.div); |
278 | 278 |
} |
279 |
if (type === "content_type") {
|
|
280 |
if (!/html/.test(data))
|
|
279 |
if (type === "is_html") {
|
|
280 |
if (!data)
|
|
281 | 281 |
content_type_cell.classList.remove("hide"); |
282 | 282 |
} |
283 | 283 |
if (type === "repo_query_action") { |
Also available in: Unified diff
Fix sanitizing of non-HTML XMLDocument's