[Updated] D12597: followlines: don't put Unicode directly into the .js file (issue6559)
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Mon May 9 15:52:46 UTC 2022
Closed by commit rHG2c0570a6d5ae: followlines: don't put Unicode directly into the .js file (issue6559) (authored by av6).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12597?vs=33328&id=33378
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12597/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12597
AFFECTED FILES
mercurial/templates/static/followlines.js
CHANGE DETAILS
diff --git a/mercurial/templates/static/followlines.js b/mercurial/templates/static/followlines.js
--- a/mercurial/templates/static/followlines.js
+++ b/mercurial/templates/static/followlines.js
@@ -50,13 +50,13 @@
btn.classList.add('btn-followlines');
var plusSpan = document.createElement('span');
plusSpan.classList.add('followlines-plus');
- plusSpan.textContent = '+';
+ plusSpan.innerHTML = '+';
btn.appendChild(plusSpan);
var br = document.createElement('br');
btn.appendChild(br);
var minusSpan = document.createElement('span');
minusSpan.classList.add('followlines-minus');
- minusSpan.textContent = '−';
+ minusSpan.innerHTML = '−';
btn.appendChild(minusSpan);
return btn;
}
To: av6, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220509/b7f5b8f9/attachment-0002.html>
More information about the Mercurial-patches
mailing list