<p>Hello,this is my text. <a href="#">Link here</a> This is more text</p>@H_301_3@ 但是使用HAML 这怎么办?我一直在寻找示例,但没有一个显示如何做到但链接的任何一侧都有纯文本? 尼尔
但是使用HAML
这怎么办?我一直在寻找示例,但没有一个显示如何做到但链接的任何一侧都有纯文本?
尼尔
%p= "Hello,this is my text. #{link_to 'Link here','#'} This is more text".html_safe@H_301_3@ 多行 %p Hello,this is my text. = link_to 'Link here','#' This is more text@H_301_3@
多行
%p Hello,this is my text. = link_to 'Link here','#' This is more text@H_301_3@