Fix cache busting URL + Fix bug not highlighing some texts where there is p/newlines
This commit is contained in:
parent
a1edf0a13f
commit
64b60f33f2
|
@ -26,7 +26,7 @@ window.cache = {};
|
|||
window.http_cachebuster = {
|
||||
'api/v1/http/[^\/]+/accounts/[^\/]+': 'users',
|
||||
'api/v1/config/trusted_users/add': 'users',
|
||||
'api/v1/cache/put?keys=temp_hidden': 'users',
|
||||
'api/v1/cache/put/?keys=temp_hidden': 'users',
|
||||
};
|
||||
</script>
|
||||
<script>
|
||||
|
|
|
@ -137,6 +137,7 @@ function isVisible(element) {
|
|||
}
|
||||
|
||||
function html2text(html) {
|
||||
html = html.replaceAll('>', '> ');
|
||||
var e = document.createElement('div');
|
||||
e.innerHTML = html;
|
||||
const result = e.innerText;
|
||||
|
|
Loading…
Reference in New Issue