summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-24 10:13:11 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-24 10:13:11 -0500
commit7707f076cb4a9762040afc4755bca231a03bdc47 (patch)
treec36faefe20b81f0819f6c625beafeacab2066130
parent1a07538253b49a1e12df144f2c005898d52be99f (diff)
downloademacsconf-ansible-7707f076cb4a9762040afc4755bca231a03bdc47.tar.xz
emacsconf-ansible-7707f076cb4a9762040afc4755bca231a03bdc47.zip
allow lines
-rwxr-xr-xroles/wiki/templates/htmlscrubber.pm4
1 files 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