Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: senny/sablon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: kreeti/sablon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 21, 2024

  1. Copy the full SHA
    044ae53 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/sablon/configuration/configuration.rb
3 changes: 2 additions & 1 deletion lib/sablon/configuration/configuration.rb
Original file line number Diff line number Diff line change
@@ -122,7 +122,8 @@ def initialize_css_style_conversion
vals[1] = 'single' if vals[1] == 'solid'
#
props[:sz] = @defined_style_conversions[:node][:_sz].call(vals[0])
props[:val] = vals[1] if vals[1]
val = vals[1] || props[:val]
props[:val] = props[:sz] == '0' ? nil : val
props[:color] = vals[2].delete('#') if vals[2]
#
return props