Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SVG attributes to the relaxed config #161

Merged
merged 1 commit into from
Jun 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions lib/sanitize/config/relaxed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,10 @@ module Config
clip-path
clip-rule
color
color-interpolation
color-interpolation-filters
color-profile
color-rendering
column-count
column-fill
column-gap
Expand Down Expand Up @@ -460,6 +463,10 @@ module Config
dominant-baseline
elevation
empty-cells
enable-background
fill
fill-opacity
fill-rule
filter
flex
flex-basis
Expand Down Expand Up @@ -492,6 +499,8 @@ module Config
font-variant-numeric
font-variant-position
font-weight
glyph-orientation-horizontal
glyph-orientation-vertical
grid
grid-area
grid-auto-columns
Expand Down Expand Up @@ -520,6 +529,7 @@ module Config
justify-content
justify-items
justify-self
kerning
left
letter-spacing
lighting-color
Expand All @@ -541,8 +551,12 @@ module Config
margin-left
margin-right
margin-top
marker
marker-end
marker-mid
marker-offset
marker-side
marker-start
marks
mask
mask-box
Expand Down Expand Up @@ -602,6 +616,7 @@ module Config
pitch
pitch-range
play-during
pointer-events
position
presentation-level
quotes
Expand All @@ -620,19 +635,31 @@ module Config
shape-image-threshold
shape-margin
shape-outside
shape-rendering
size
speak
speak-as
speak-header
speak-numeral
speak-punctuation
speech-rate
stop-color
stop-opacity
stress
string-set
stroke
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
tab-size
table-layout
text-align
text-align-last
text-anchor
text-combine-horizontal
text-combine-upright
text-decoration
Expand Down