Commit be49b15a authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'dm-dont-copy-toolip' into 'master'

Don't copy tooltip when copying GFM

Closes #28802

See merge request !9563
parents 18188136 b31c64e7
...@@ -25,6 +25,9 @@ require('./lib/utils/common_utils'); ...@@ -25,6 +25,9 @@ require('./lib/utils/common_utils');
}, },
}, },
ReferenceFilter: { ReferenceFilter: {
'.tooltip'(el, text) {
return '';
},
'a.gfm:not([data-link=true])'(el, text) { 'a.gfm:not([data-link=true])'(el, text) {
return el.dataset.original || text; return el.dataset.original || text;
}, },
......
---
title: Don't copy tooltip when copying GFM
merge_request:
author:
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