diff --git a/kallithea/lib/diffs.py b/kallithea/lib/diffs.py
--- a/kallithea/lib/diffs.py
+++ b/kallithea/lib/diffs.py
@@ -75,7 +75,7 @@ def as_html(table_class='code-difftable'
"""
if condition:
- return '''%(label)s''' % {
+ return '''''' % {
'url': url,
'label': label
}
diff --git a/kallithea/public/less/kallithea-diff.less b/kallithea/public/less/kallithea-diff.less
--- a/kallithea/public/less/kallithea-diff.less
+++ b/kallithea/public/less/kallithea-diff.less
@@ -119,8 +119,6 @@ BIN_FILENODE = 6
padding-left: 2px;
padding-right: 2px !important;
width: 30px;
- -moz-user-select: none;
- -webkit-user-select: none;
border-right: 1px solid #CCC !important;
border-left: 0px solid #CCC !important;
border-top: 0px solid #CCC !important;
diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less
--- a/kallithea/public/less/style.less
+++ b/kallithea/public/less/style.less
@@ -2,6 +2,11 @@ body {
background: url("../images/background.png") repeat scroll 0 0 #B0B0B0;
}
+/* pseude content that should not be selected or copied by the user */
+[data-pseudo-content]:before {
+ content: attr(data-pseudo-content);
+}
+
/* class for texts where newlines should be preserved, for very light-weight ascii art markup (like pull request descriptions) */
.formatted-fixed {
white-space: pre-wrap;