demarches-normaliennes/app/helpers/number_helper.rb

7 lines
249 B
Ruby
Raw Normal View History

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