Space after line break in paragraph

前端 未结 2 1898
伪装坚强ぢ
伪装坚强ぢ 2021-01-25 10:06

I\'m displaying programming content on my HTML page using light yellow boxes, similar to this page. To make a yellow box, I use a

tag with a special class

2条回答
  •  爱一瞬间的悲伤
    2021-01-25 10:32

    Use the

     tag, like the example, instead of 
    .

        # File actionpack/lib/action_view/helpers/url_helper.rb, line 324
        defbutton_to(name, options = {}, html_options = {}) html_options = html_options.stringify_keys
    
        ...
    
        "#{tag(:form, form_options, true)}<div>#{method_tag}#{tag("input", html_options)}#{request_token_tag}</div></form>".html_safe
        end
    

提交回复
热议问题