Project

General

Profile

Patch #40939 » 40939-v2.patch

Go MAEDA, 2024-07-07 07:55

View differences:

app/assets/javascripts/jstoolbar/common_mark.js
}
}
// ins
jsToolBar.prototype.elements.ins = {
type: 'button',
title: 'Underline',
shortcut: 'u',
fn: {
wiki: function() { this.singleTag('<u>', '</u>') }
}
}
// del
jsToolBar.prototype.elements.del = {
type: 'button',
lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb
end
}
# Allow `u`` element to enable underline
allowlist[:elements].push('u')
allowlist
end
end
(2-2/4)