From 7707f076cb4a9762040afc4755bca231a03bdc47 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 24 Nov 2022 10:13:11 -0500 Subject: allow lines --- roles/wiki/templates/htmlscrubber.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/wiki/templates/htmlscrubber.pm b/roles/wiki/templates/htmlscrubber.pm index caf78a1..891a9fa 100755 --- a/roles/wiki/templates/htmlscrubber.pm +++ b/roles/wiki/templates/htmlscrubber.pm @@ -78,7 +78,7 @@ sub scrubber { # With html5 tags added. $_scrubber = HTML::Scrubber->new( allow => [qw{ - svg rect text g title + svg rect text g title line a abbr acronym address area b big blockquote br br/ button caption center cite code col colgroup dd del dfn dir div dl dt em fieldset font form h1 h2 h3 h4 @@ -93,7 +93,7 @@ sub scrubber { }], default => [undef, { ( map { $_ => 1 } qw{ - version xmlns x y fill font-size font-weight stroke stroke-width stroke-dasharray transform opacity + version xmlns x y x1 y1 x2 y2 fill font-size font-weight stroke stroke-width stroke-dasharray transform opacity data-start data-end data-video data-target data-tracks data-track kind label srclang default abbr accept accept-charset accesskey -- cgit v1.2.3