demarches-normaliennes/app/helpers/number_helper.rb
2024-08-22 09:26:48 +02:00

8 lines
280 B
Ruby

# frozen_string_literal: true
module NumberHelper
def number_with_html_delimiter(num)
# we are using the span delimiter that doesn't insert spaces when copying and pasting the number
number_with_delimiter(num, delimiter: tag.span(class: 'numbers-delimiter'))
end
end