[ARVADOS] updated: 1.2.0-431-g7127d6c5f
Git user
git at public.curoverse.com
Mon Nov 26 14:42:51 EST 2018
Summary of changes:
apps/workbench/app/helpers/application_helper.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 7127d6c5f8ceb03ec5008a17d320f8054f3e2edb (commit)
from 8299fa11d1e813ea52e3ea482214d12044119bc3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 7127d6c5f8ceb03ec5008a17d320f8054f3e2edb
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Mon Nov 26 16:42:11 2018 -0300
14519: Adds more table related tags to the whitelist
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 379eb6424..c4a801d68 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -16,8 +16,8 @@ module ApplicationHelper
end
def render_markup(markup)
- allowed_tags = Rails::Html::Sanitizer.white_list_sanitizer.allowed_tags + %w(table tbody th tr td)
- sanitize(raw(RedCloth.new(markup.to_s).to_html(:refs_arvados, :textile)), tags: allowed_tags)
+ allowed_tags = Rails::Html::Sanitizer.white_list_sanitizer.allowed_tags + %w(table tbody th tr td col colgroup caption thead tfoot)
+ sanitize(raw(RedCloth.new(markup.to_s).to_html(:refs_arvados, :textile)), tags: allowed_tags) if markup
end
def human_readable_bytes_html(n)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list